Native Lazy Loading
Lazy Loading is a technique that is on it's way towards wide support in modern browsers.
Accelerated Domains automatically adds the loading=lazy
attribute to your <img>
tags if no loading
attribute is set.
note
This feature can be completely disabled for any Accelerated Domain on request. Get in touch with Servebolt Support if you want this feature disabled.
Native Lazy Loading Browser support
For more information see https://caniuse.com/loading-lazy-attr
Make Accelerated Domains ignore a specific image
There are two ways of making Accelerated Domains skip adding the loading="lazy"
attribute to an image
- Add attribute
acd-skip-lazy
to the<img>
you want Accelerated Domains to skip
<img src="/image.png" acd-skip-lazy>
- Add
loading
attribute to the<img>
. This can be either justloading
orloading="eager"
<img src="/image.png" loading>
<img src="/image.png" loading="eager">