Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Lazy loading
For your interest: avoid lazy loading images above the fold:
https://web.dev/browser-level-lazy-loading-for-cmss/#avoid-lazy-loading-above-the-fold-elements
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Re: Lazy loading
Unless you definitely know that an image tag is going to be below the fold there’s no need to using the loading
attribute at all. Since the modern browser will use its own logic to determine if an image is to be lazy loaded or not.
The attribute is just to explicitly override default behaviour (i.e. Chrome will mostly lazy load all images below the fold as a default).
Offline
Re: Lazy loading
Thank you a lot, Phil, for these specific explanations!
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Pages: 1