Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
andersmurphy
· 1y ago · 0 comments
Or streaming brotli/zstd json/html where the compression window can be used for the duration of the connection.
Comments
[–]
akoboldfrying
1y ago
But in that case the server/CDN won't be able to cache the gzipped forms of the individual files -- so probably a win for highly dynamic/user-specific content, but a loss for static or infrequently generated content.
[–]
WorldMaker
1y ago
Brotli also benefits out-of-the-box in fresh compression windows with some common JSON patterns always in the Brotli static dictionary.