Skip to content

Provide Brotli compression #62

Description

@Krinkle

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

Activity

  1. self-assigned this
    on Jul 15, 2020
  2. removed their assignment
    on Nov 13, 2020
  3. self-assigned this
    on Aug 8, 2023
  4. timmywil commented on Jun 30, 2024

    @timmywil
    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?

  5. mgol commented on Jul 1, 2024

    @mgol
    Member

    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.

  6. timmywil commented on Jul 1, 2024

    @timmywil
    Member

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions