lazy loading, weird behavior with local website (html files)

19 views
Skip to first unread message

Saada Mehdi

unread,
Nov 4, 2022, 7:25:15 PM11/4/22
to Chromium-discuss
Hi,
I noticed something funny, accessing my local site with the hugo webserver (on localhost:1313/) is actually much faster than reading the html directly, because in one case images are loaded lazily, as asked by the code `<img loading="lazy"` but in the other case not, the page appears functional only when all pictures are loaded.
Why is that ? Obviously people will reach the site through the webserver, but can I improve this for the versions that I give to friends ?

Thanks
Reply all
Reply to author
Forward
0 new messages