Serving pre-gzipped assets from Apache
This comment has been minimized.
This comment has been minimized.
This will cause if you don't have html.gz files => 404 Not Found, so instead, we also can combine all rewrite rules at once to:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Also you should add:
<Files *.css.gz>
ForceType text/css
</Files>
<Files *.js.gz>
ForceType application/javascript
</Files>
<Files *.html.gz>
ForceType text/html
</Files>
or browsers will not recognize css