A partial archive of discourse.wicg.io as of Saturday February 24, 2024.

[Proposal] BlurHash support

plinss
2020-10-30

Came across this on Twitter the other day: https://github.com/woltapp/blurhash

Seems like something that would be useful to support natively in the browser. Something like adding a blurhash attribute to the <img> element to act as a placeholder until the image is loaded.

Malvoz
2020-10-30

This was mentioned by @othermaciej in:

See also related WICG thread:

plinss
2020-10-30

@othermaciej doesn’t seem to mention blurhashes anywhere, he links to techniques using small images or SVG run through a blur filter. But thanks for the reference, I’ll post there.

collimarco
2021-01-26

+1 This would solve the (necessary) slow loading of large images in above the fold (like a cover image).

Currently there isn’t any solution to have a cover image and a good score in Web Core Vitals… this could be a solution.

Then Google and other browsers should consider the blurhash (or similar placeholder) instead of the actual image to measure the page load speed.