You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agreed, decoding="async" is a good default, but loading="lazy" should not be used on any image that visible on load.
You could implement some sort of bounding box check to detect images not currently in view on load, but that defeat the purpose.
Summary
Hi @Oksydan
right now I've found this solution to increase the loading page speed
add decoding="async" with loading="lazy"
look at here
https://fantinel.dev/web-images-modern-formats#lazy-loading-and-async-decoding
what do you think?
I've seen that astro's website use it in its source code
https://astro.build/
I'm going to test it
bye
Feature target required module/theme
theme
Drawbacks
increase the page speed
The text was updated successfully, but these errors were encountered: