# Chrome silently drops half your page when you concatenate gzip files

Original title: Compression and Concatenation on the Web

> Hacker News story 50033300 · language: en · submitted 2026-10-10
> Web version: https://zeli.app/story/50033300
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 8 · by [eatonphil](<https://news.ycombinator.com/user?id=eatonphil>) · 💬 4
[original](<https://theconsensus.dev/p/2026/10/04/compression-and-concatenation-on-the-web.html?focus=1>) · [HN discussion](<https://news.ycombinator.com/item?id=50033300>)

## Summary

Compression reduces bytes sent to the browser, but joining pre-compressed files is trickier than it seems. gzip is famously concatenable, yet curl errors out and Chrome silently discards the second part. Brotli's reference implementation doesn't support concatenation at all, though Dropbox's rust-brotli adds appendable and catable flags. zstd, built for concatenation from the start, works seamlessly with both curl and Chrome.

## Key quote

> Chrome won't even tell you the second part was dropped.

---

## Cite

- Page: https://zeli.app/story/50033300
- Date: 2026-10-10
- Source: theconsensus.dev (https://theconsensus.dev/p/2026/10/04/compression-and-concatenation-on-the-web.html?focus=1)
- Hacker News: https://news.ycombinator.com/item?id=50033300

## Other languages

- zh: https://zeli.app/zh/story/50033300 · markdown: https://zeli.app/zh/story/50033300.md
- ja: https://zeli.app/ja/story/50033300 · markdown: https://zeli.app/ja/story/50033300.md
- ko: https://zeli.app/ko/story/50033300 · markdown: https://zeli.app/ko/story/50033300.md
- de: https://zeli.app/de/story/50033300 · markdown: https://zeli.app/de/story/50033300.md
- es: https://zeli.app/es/story/50033300 · markdown: https://zeli.app/es/story/50033300.md
- ru: https://zeli.app/ru/story/50033300 · markdown: https://zeli.app/ru/story/50033300.md
