[Feature Request] add v-img lazyload prop - only start loading src if element is visible
See original GitHub issueWhat problem does this feature solve?
Option to lazyload images only if the content is visible Google “Pagespeed Insights” would like to prioritize visible content.
It would optimize network roundtrips and only loads images which are in visible area
What is your proposed solution?
Add a prop to enable lazyload
- only load images which are inside of visible content.
Two references of projects where this technique is applied:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:15
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Browser-level image lazy loading for the web - web.dev
This video shows a demo of the feature: In Chrome 76 onwards, you can use the loading attribute to lazy-load images without the...
Read more >Lazy loading - Web performance | MDN
Lazy loading is a strategy to identify resources as non-blocking (non-critical) and load these only when needed. It's a way to shorten the ......
Read more >Lazy Loading Images – The Complete Guide - ImageKit.io
Everything about Image Lazy loading - what is it, why is it important, ... We trigger the load for these images when they...
Read more >A Deep Dive into Native Lazy-Loading for Images and Frames
The initial, server-side HTML response includes an img element without the src attribute so the browser does not load any data. Instead, the ......
Read more >Various Ways to Lazy Loading Images on a Website - Medium
Images are the most requested asset type for most websites. ... loading=”lazy” means image load only if it's near or visible on viewport....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A short and sweet solution for this using Interaction Observer API.
Works flawlessly with no extra dependencies.
Credit to: https://alligator.io/vuejs/lazy-image/
DId this make it into 1.3.0? If so the docs don’t reflect it.