Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Brotli compression #62

Open
Krinkle opened this issue Jul 15, 2020 · 3 comments
Open

Provide Brotli compression #62

Krinkle opened this issue Jul 15, 2020 · 3 comments

Comments

@Krinkle
Copy link
Member

Krinkle commented Jul 15, 2020

Split from #38.

I have tested the latest jQuery version at code.jquery.com using Gzip and Brotli Compression Level Estimator and there is room for improvement:

jquery test

@timmywil
Copy link
Member

We were recently addressing an issue with gzip on the CDN and discovered that gzip performs better than brotli for most jQuery files. Perhaps this issue can be closed?

@mgol
Copy link
Member

mgol commented Jul 1, 2024

This was the default Brotli that Fastly provided IIRC? Perhaps it’s just using poor settings. Proper Brotli would be way smaller than that.

It makes sense to do this IMO but we’d have to provide the Brotli versions by ourselves.

@timmywil
Copy link
Member

timmywil commented Jul 1, 2024

It doesn't say what compression level is used, but Brotli does require more resources so I could see Fastly keeping the level low to avoid that. I'd rather not get into providing Brotli versions ourselves, but perhaps we could play with nginx settings so brotli is supported at the origin. But, it could have the same issues as we had with gzip where the origin is not always consulted, in which case it may end up using Fastly's gzip version anyway.

@Krinkle Krinkle removed their assignment Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants