Blog
SquishPixel Blog, page 3
-
AVIF first, WebP as fallback is the advice for image-heavy product pages
A DEV Community post says image-heavy sites should serve AVIF first with WebP as fallback, and test both formats on their own fine-texture images.
-
Why lab scores and CrUX field data can differ when page loads are incomplete
A DEV Community post explains why a green lab score and an amber field score can both be right, and how partial loads and navigation types shape CrUX data.
-
Re-encoding a JPEG in a browser canvas can make the file bigger, tests show
Tests of 25 photos found canvas re-exports at JPEG quality 0.92 grew some files in all three browser engines, and size targets did not prevent it.
-
Reserve space for images before they load to stop text jumping
DEV Community explains how width and height attributes let browsers reserve room for a photo, so text below it stays put while the file downloads.