Hookay, finally wrote a little post on my new blog. Hopefully the first of more to come!
Wielding Brotli on iOS https://objectionable-c.com/posts/brotli-ios/ #iosdev #brotli
Hookay, finally wrote a little post on my new blog. Hopefully the first of more to come!
Wielding Brotli on iOS https://objectionable-c.com/posts/brotli-ios/ #iosdev #brotli
« Je découvre la compression #Zstandard »
🏇 Cranking Brotli up to 11 with Cloudflare Pro and 11ty
by Matt Hobbs (he/him) @therealnooshu.bsky.social @TheRealNooshu
About migration to Cloudflare Pages and 11ty & web performance.
#cloudflare #webperf #brotli #compression #11ty #webdev
https://nooshu.com/blog/2025/01/05/cranking-brotli-up-to-11-with-cloudflare-pro-and-11ty/
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.
Lol, I forgot how much better #Brotli is than gzip & bz2… I tried to bzip a 80GB file and it was taking forever. I'll need to do a benchmark, but on a small file it's:
gz: down to 32%, 6s
bz2: 17%, 2:20
brotli: 2% (!!), 2:40
brotli -6: 3%, 10s
(unbrotli was also like <10s)
How does #zstd compare? (I haven't tried it yet)
#Development #Introductions
Introduction to shared compression dictionaries · A new way to speed up your site by reducing data on revisits https://ilo.im/160f7i
_____
#Compression #SharedDictionary #Brotli #Zstandard #HTTP #Server #WebPerf #WebDev #Frontend #Backend
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. https://github.com/whatwg/compression/issues/34
WebP: The WebPage compression format | purplesyringa's blog
Link📌 Summary: 本文探討了網頁壓縮格式WebP對改善網站性能的重要性。作者強調在提供流暢的訪問體驗的同時,必須注重頁面加載時間,特別是當頁面包含大型插圖時。儘管使用壓縮(如gzip和Brotli)能有效減少流量和延遲,但GitHub Pages不支持Brotli,導致較大的數據傳輸量。作者提出一個解決方案,即使用預壓縮數據,並通過JavaScript在客戶端進行手動解壓縮,從而提高效能。
🌗 WebP:網頁壓縮格式
➤ 解釋Brotli壓縮在網站加載速度中的重要性
✤ https://purplesyringa.moe/blog/webp-the-webpage-compression-format/
作者在嘗試壓縮網頁以提高速度時遭遇困難,敘述了使用Brotli和gzip壓縮方式的不同效果及相應的解決方法。
+ 這篇文章說明瞭在優化網頁加載速度時遇到的技術挑戰,提供了有用的解決方案。
+ 我以前並不知道Brotli壓縮的重要性,這篇文章真正開拓了我的眼界。
#網頁壓縮 #Brotli #gzip
Let's make the web a smaller place by pre-compressing static assets with Brotli and Gzip. Here are some useful tips to get started. #brotli #gzip #nginx
Link: https://linux-audit.com/web/how-to-pre-compress-static-assets/
Feedback and boosts welcome 🔒
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
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
Somehow, we never got round to enabling Brotli compression on www.bbc.co.uk & www.bbc.com so I am just in the final throws of deploying that.
So far in ~1 hour on our staging site, I'm seeing ~24% smaller files under Brotli (vs. gzip). 🤞this (or better) also happens on live which'll be tomorrow.
#WebDev #Compression #Brotli #GZip
#TIL that #Zstandard is supported in HTTP compression (RFC 8478). There's also some guy out there who wrote an #NGINX module to implement it. https://github.com/tokers/zstd-nginx-module
One custom build of NGINX later, a few additions to my precompression script, and ngx_http_zstd_static_module is now serving zstd-compressed assets to any compatible browser that visits my web site. That's currently only Chromium (masked behind a flag), but hey, it's ready whenever the browsers catch up.
#Zstd, in practice, is worse than #Brotli but better than Gzip. It's also faster than both!
:nginx: #selfhosted #sysadmin #webmaster #brotli
Google: Chrome testet deutlich verbesserte Kompression - Golem.de
https://glm.io/182959?n #Webbrowser #Browser #Chrome #Brotli #Zstandard
Introducing Compressonator v4.5! 🎉
New features include:
🗜️Improved BC1-BC5 texture compression with #Brotli-G
⬇️ average file size reduction 10-15% ⬇️
🗜️New Brotli-G zip packaging feature
🗜️Mipmap changes
🗜️ETC codec fixes
Ein Brötli im Zug
Eigentlich bin ich ja, was Gerüche betrifft, nicht heikel: Wenn jemand im Zug ein Joghurt oder ein Müesli isst, lässt mich das kalt. Auch Kaffee oder Energy Drink macht mir nichts aus.
Wo sich mir jedoch die Nackenhaare – oder auch die Nasenhaare – kräuselten, war bei dem Brot, das die Frau mir vis-à-vis letzten Donnerstagmorgen verspies: ein Sandwich mit Cantadou, Boursin, Tartare oder einem ähnlichen Kräuter-Frischkäse. Zum Frühstück. Im Zug. Im Pendelverkehr.
Übertroffen würde so etwas wohl nur noch durch ein Sandwich mit Glarner Ziger …
#Brot #Brötli #EnergyDrink #Frischkäse #Frühstück #Geruch #GlarnerZiger #Joghurt #Kaffee #Kräuter #Müesli #Pendelverkehr #S11 #Sandwich #verspeisen #Zug