4 ms·
I'm all for good compression but tbh it's starting to get ridiculous. HTML/CSS/JS: prefer brotli, then gzip, then identity (no compression), using the Accept-E
by pdenton 5y ago
I'm all for good compression but tbh it's starting to get ridiculous.
HTML/CSS/JS: prefer brotli, then gzip, then identity (no compression), using the Accept-Encoding header.
Pictures: convert them all to AVIF and WEBP. Keep JPEG around as well for backward compatibility
Other bitmap/non-scalable images: I guess still use PNG unless I missed something
And now SVG, used to be compressible with brotli but soon we'll have to export it to IconVG.
What's next, changing the transport to UDP? Hah!
Oh wait...
- ajconway 5y agoThere's not a single perfect format for everything, so why not?
- makapuf 5y agoI understand there might be specificities for encoding but there coukd be some efforts to share some compression. By example png use gzip, we could let the browser sort it out and let it use brotli?
- deleted 5y ago[deleted]