Is it better to gzip in htaccess like this
Or to not add that and use the vb settings gzip? I found that code online, not sure if it's the best. Why isn't php added to include file list? Also strangely if I disable in vb and delete the above code my site still reports to being gziped.Thanks for the help!
Code:
<ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|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>
Comment