Support » Plugin: Image Optimizer, Resizer and CDN - Sirv » Add brotli support?

Viewing 1 replies (of 1 total)
  • Thanks for your suggestion!

    Brotli isn’t useful for images, which is the primary use case for Sirv but we’re watching it closely with regard to serving other files (particularly JS, CSS, HTML, SVG). Presently, Sirv uses Gzip for compressing those text files. As Sirv is predominantly used for dynamic files (which are often updating), processing speed is a key factor, as well as file compression. A Brotli compression level of 4 can slightly (5-20%) outperform Gzip on both processing speed and file compression, so it looks good on first inspection, but about 4% of current web browsers don’t support Brotli, so it’d need to fall back to Gzip, which would mean total processing and cache usage is roughly doubled for those files.

    Right now, we are watching for a decline below 1% for non-Brotli supporting browsers and waiting to see what improvements come in future Brotli releases.

Viewing 1 replies (of 1 total)
  • The topic ‘Add brotli support?’ is closed to new replies.