I had an issue with it not serving the gzip version of the pages. I think this can be traxed down to the htaccess rules. I'm a long way from being an expert on htaccess but:
# GZIP - Cached css & js files
RewriteCond %{HTTP_COOKIE} !(boost-gzip) [OR]
RewriteCond %{HTTP:Accept-encoding} !gzip
RewriteRule .* - [S=2]
and
# GZIP
RewriteCond %{HTTP_COOKIE} !(boost-gzip) [OR]
RewriteCond %{HTTP:Accept-encoding} !gzip
I think should probably have the [OR] section removed - with the [OR] they'll only serve the gzipped pages if eitehr of those cases don't match - as I'm not using the iframe method it was skipping the gzip rule because the cookie is not set.
Comment | File | Size | Author |
---|---|---|---|
#3 | boost-598354.patch | 3.55 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedThe OR works.
It's saying if there is no gzip cookie OR if they do not accept gzip encoding then skip the gzip part.
Grab the generated rules, and if you have "Aggressive Gzip" turned off it will not contain the cookie test then.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedWhoops... you are correct. Big thanks for pointing this out
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedComment #4
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted