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 Quote
wolstech Posted December 20, 2017 Posted December 20, 2017 We have mod_deflate I believe, not mod_gzip. Quote
Bailey Posted December 20, 2017 Author Posted December 20, 2017 Is it possible for you to install this as I would really like it? Quote
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. Quote
Bailey Posted December 20, 2017 Author Posted December 20, 2017 Thanks, but I would prefer GZIP and I dont want to use Cloudflare. Quote
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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.