Image lazy loading

Image lazy loading

Gummibeer

Astroneer
Moderator
Local time
02:23
Joined
Oct 5, 2019
Messages
1,153
Pronouns
he/him


Does anyone see a way for a polyfill? The only way I see is to parse user agent on server side and deliver different HTML!?
The problem I see is that JS lazy loading is based on attribute replacement but the browser one uses a regular IMG tag with an additional attribute - like script async/defer. It's what I wished for - but it will take years until it's supported in major browsers.

 
Top