▲ | superkuh 2 days ago | |||||||||||||||||||||||||||||||||||||
I suppose the existence of bad uses does not invalidate the good but it feels like 99% of blurry image placeholder behavior is actually just preventing people from seeing anything unless they also run the ad and spying javascript that monetizes the site. So a CSS-only way is neat and indisputably better but I think it's missing the point? The point of blurry placeholders isn't to make things easier or display better. The point is to make things worse. This write up is definitely making things better. | ||||||||||||||||||||||||||||||||||||||
▲ | simonw 2 days ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
The point of blurry placeholders is to support loading a page with potentially hundreds of images (maybe with additional lazy loading, which doesn't need JavaScript these days) without blocking display of the page on loading those full images. I'm not sure why you think it has anything to do with forcing people to execute JavaScript? | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
▲ | nirava a day ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
It is really simple to make sure your blurred css placeholder is cosmetic, and a progressive enhancement. I would know, I wrote one a month ago for my personal site. My goal was to have something that'd transmit all the essential bits of the site in the first 14kB, and worked basically on everything. It wasn't hard, honestly. It wasn't a particularly complex site but i guess what I'm saying is any well done (and well intentioned) implementation of blurred image placeholders will works with or without JS. That is just sound engineering... | ||||||||||||||||||||||||||||||||||||||
▲ | recursive 2 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
The placeholder is inline in the markup. It can be displayed before the image loads. Which is not inline. I have no idea what 99% thing you're talking about. | ||||||||||||||||||||||||||||||||||||||
|