dinbror / blazy

Hey, be lazy! bLazy.JS is a lightweight pure JavaScript script for lazy loading and multi-serving images. It's working in all modern browsers including IE7+.
http://dinbror.dk/blazy
MIT License
2.63k stars 355 forks source link

load dummy image to avoid duplicate request getting sent on lazy load #180

Open viveksoundrapandi opened 4 years ago

viveksoundrapandi commented 4 years ago

Images are loading twice as part of lazy load, this PR will avoid the duplicate by having a dummy image src attribute and then replacing it with the loaded image src

rferreira98 commented 3 years ago

@dinbror This issue is still happening. Images are getting loaded twice which naturally affects performance.

npoliquin commented 1 year ago

Any updates?