logoalt Hacker News

thinkindieyesterday at 7:56 PM2 repliesview on HN

Why not serving files compressed if the client supports it even though the origin served an uncompressed file?


Replies

theandrewbaileyyesterday at 8:11 PM

I was thinking this. Zstd is widely supported in browsers, over 80% right now and will increase over time:

https://caniuse.com/?search=zstd

llama052yesterday at 10:26 PM

They already do this, at least for paid accounts. You can even decide what compression model you want them to serve on your behalf.