4 ms·
<img> tags use the loading="lazy" property which doesn't actually load the image until it's displayed. Everything else is just text, which is super tiny. https
by carlineng 4y ago
<img> tags use the loading="lazy" property which doesn't actually load the image until it's displayed. Everything else is just text, which is super tiny.
https://github.com/cadars/john-doe/blob/4f5a3eafecbdffa9d34fc7d5b238df6defe16861/index.html#L50 https://github.com/cadars/john-doe/blob/4f5a3eafecbdffa9d34f...
- Funes- 4y agoI didn't know about that attribute, thanks. I wonder if there's a way to make "lazy" its default value, instead of "eager"... I guess not without JS. P. S. It seems that Safari isn't compatible with the attribute by default, but it can be enabled through its settings.