mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.2K
active users

#brotli

0 posts0 participants0 posts today

Curl does not handle unrequested content compression gracefully.

Today I learned there is a compression library/program called "brotli" (Brötli, Swiss-German bread roll).

The brotli file format apparently does not have a magic number.

Brotli is used as a compression format for web content-encoding (compare with gzip or zstd) and browsers support this.

I've only ever noticed gzip compression encoding before today.

#curl#linux#web

Does anyone know a product manager for #Chrome/#Blink? If so, can you please get them to just rubber stamp this instead of drawing out this ridiculous "but we can't land this because it's over 16kb" nonsense? Why is this even an argument to be had: #Google *literally invented* #Brotli, add it to the browser, that was the whole point. github.com/whatwg/compression/

GitHubInclude brotli · Issue #34 · whatwg/compressionBy v-python
Continued thread

Our stack is: `Fastly -> GTM (BBC CDN) -> Belfrage (BBC routing) -> origins` for most of our modern web pages.
Currently, only Fastly supports Brotli, the others do gzip, deflate & no compression.
Fastly strips `gzip,deflate` from the `accept-encoding` header sent to origin so our layers all return uncompressed content which means they're using more egress bandwidth. It's not a huge problem for us but something I thought might be useful for others to know.
#WebDev #Brotli #CDN #Compression #BBC

Continued thread

A little update on our enabling of Brotli for www.bbc.co.uk, www.bbc.com etc.
We're seeing compression improvements of roughly 15-40% over gzip. 15% is for HTML only, 40% is the overall. The caveat is that some clients which don't support Brotli request unusual content so this may be skewed to some degree.
I'll cover an issue which has cropped up in the next post.
#WebDev #Brotli #CDN #Compression #BBC

I enabled Brotli compression on the CDN which serves the main BBC websites (www.bbc.co.uk. www.bbc.com etc.) outside the UK this morning.
Over ~4 hours, we're seeing a mean of ~20% better compression (smaller responses) via Brotli & ~95% of responses being Brotli now.
I've not had time to look in detail at performance but there doesn't look to be a significant change (LMK if you see diferent!).
(the spikes are breaking news events linking to a large "live" pages)
#Brotli #WebDev #BBC