DEV Community

Discussion on: How we reduced our initial JS/CSS size by 67%

Collapse
 
thedrow profile image
Omer Katz

I wonder why you haven't mentioned using brotli in addition to gzip.
It produces far better compression ratio and decompression speed is off the hook.
It's supported by all major browsers (See caniuse.com/#feat=brotli) and has a webpack plugin (See github.com/mynameiswhm/brotli-webp...).

Collapse
 
goenning profile image
Guilherme Oenning

Hi Omer, I haven't mentioned that because we didn't implement it yet. But we're definitely interested on that too! 😀 Are you using Brotli already? Have you seen much difference?

Collapse
 
thedrow profile image
Omer Katz

I have used brotli in the past.
It's such a huge boost and it's super easy to implement.