Re:A 14kb page can load much faster than a 15kb page
by panzerboiler on Thursday August 25, 2022 @03:40AM
(#32590782)
Maybe it was [blurhash](https://blurha.sh/)?
Re:A 14kb page can load much faster than a 15kb page
by andrewingram on Thursday August 25, 2022 @04:48AM
(#32591212)
Inlining the blurhash script so that the blurred image is in the first paint will eat up about 2kb, but then you're good to go. I did it for this little demo: https://codesandbox.io/s/inline-blurhash-y4b0wj?file=/pages/...
However, quickly loading the bulk of the website and perhaps having a placeholder for the image that has yet to load will still make the site better. I remember seeing something that allowed you to create really blurry placeholders that are tiny, but I can't find it now.