You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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.
Activity
timmywil commentedon Jun 30, 2024
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 commentedon 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 commentedon 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.