-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adding lazyLoad support #16
Comments
If you mean postpone, per the Resource Priorities definition, it already does - you just add 'postpone' to the I need to find the Google Chrome interview video - but basically anything happening on a mobile device shouldn't use 'postpone' behavior. Nearly all battery drain is from turning the radio on/off, so having all page requests happen at once is a good thing (tm) for battery life. |
Yeah I saw the 'postpone', but the support is more than limited at the moment. My thought was to incorporate the concepts from https://github.com/tuupola/jquery_lazyload and only insert the image-ref to src-attribute when the image is "in" the viewport |
Slimmage can't achieve its goals if it gets too bloated, and I think that lazy loading has been proven to be counterproductive in most scenarios. I would be interested in seeing slimmage work alongside a separate lazyload module or jquery plugin. I don't see any reason that shouldn't be possible. By definition, conventional lazy loading breaks accessibility and forfeits graceful degradation, so there's no need to rely on Slimmage's abilities in that area. Just call |
Thanks for the answer @nathanaeljones. You can close the question |
Hi @nathanaeljones,
How's your standpoint on adding lazyload support to slimmage?
Basic requirements:
The text was updated successfully, but these errors were encountered: