Bailey Posted December 20, 2017 Posted December 20, 2017 Hello, Is the GZIP module allowed/installed on the server configuration because I'm trying to use it but it isn't working. I'm sure this is to do with the server and not me. The snippet I'm using: <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </ifModule> Thanks,Bailey
wolstech Posted December 20, 2017 Posted December 20, 2017 We have mod_deflate I believe, not mod_gzip.
Bailey Posted December 20, 2017 Author Posted December 20, 2017 Is it possible for you to install this as I would really like it?
miwilc Posted December 20, 2017 Posted December 20, 2017 See: https://stackoverflow.com/a/15168033 Generally, mod_deflate is easier to configure than mod_gzip. You don't even need high compression if you have a Cloudflare account, they do minification via CDN and other things.
Bailey Posted December 20, 2017 Author Posted December 20, 2017 Thanks, but I would prefer GZIP and I dont want to use Cloudflare.
Bailey Posted December 20, 2017 Author Posted December 20, 2017 Nevermind, thanks for your help @miwilc, I didnt realised but deflate is also uses GZIP.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now