I'm using the follow code in .htaccess. It works nicely in localhost, however in production server i'm having troubles with gzip compression.
AddOutputFilterByType DEFLATE text/css text/html application/x-javascript application/javascript <IfModule mod_deflate.c>
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html </IfModule>
I contacted my host provider and they told me that mod_deflate is loaded in apache and running. They provide me the following URL to server info. Could you please help me and see if it's in fact loaded? Is this information enough to determine that?
Thanks in advance, Pedro