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
php text/html files no longer br encoded ? #22
Comments
Interesting... Works here... Just to make sure, you're using Could you try without other modules and/or when compiling |
yes i am - just noticed something interesting on recompiles old dynamic modules get tagged with .old at the end ?
tried ngx_brotli as non-dynamic module and same issue. i'll try with other modules disabled and see |
same issue with php files only with reduced nginx modules compiled
and
|
How exactly are you testing? Browser? cURL? |
via dev tool network tab in web browser firefox 44, firefox nightly and canary with brotli enabled |
Could you paste request & response headers? Also, could you try with cURL and paste output (I'm assuming it's not public URL)?
|
it's a local test wordpress site index page chrome canary response header
chrome canary request headers
css, js all report br encoding, just php index page reports gzip encoding it's a localhost site with self-signed ssl certificate
css reports br encoding though
options used
|
Are you sure that your PHP backend isn't gzipping the HTML response? Also, are you using exactly same |
yeah they're the same .. ah ha, wordpress has keycdn cache enabler which like wp super cache has generated a static html gzipped cache of the page !!!!! so that is probably it :) |
So... was that it? Can we close this issue? |
@PiotrSikora yup that was it, keycdn cache enable pre-compress static html cached pages in wordpress. When disabled pre-compress cached html pages it reports br encoding now
|
Previous ngx_brotli versions showed br encoding for php files with text/html mime types. But latest with Nginx 1.9.12-1.9.13 seem to do br encoding only for static files except php files ?
i am currently using older ngx_brotli version and php files get working br encoding https://community.centminmod.com/
git log
The text was updated successfully, but these errors were encountered: