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

Add static brotli compression support. #720

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

stathis
Copy link

@stathis stathis commented Dec 16, 2019

To be used in conjunction with https://github.com/kjdev/php-ext-brotli

@vlasky
Copy link

vlasky commented May 4, 2020

@donnchawp @stathis 's code that adds Brotli support seems straight forward.

Brotli does a lot to further reduce bandwidth usage beyond what can be achieved with gzip. Can you please merge this commit?

To this day, I have been running a shell script under CentOS 7 Linux to perform brotli compression of static assets, served by nginx-more (a Brotli-enabled Nginx build) with the brotli_static configuration option enabled.

It works, but it would be so much more elegant and convenient to have this done by WP Super Cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants