Hello. I'm developing a website in PHP and I have large JS files that I want to compress. So, I added this in my .htaccess file:
<FilesMatch "\.(js|css|html|htm|php|xml)$">
SetOutputFilter DEFLATE
</FilesMatch>
It works great on my local wamp server install but once I move the files on my shared server, the DEFLATE command does not work. I don't know why... mod_deflate is enabled on the webserver, aswell as bz2, gzip. I am allowed to user htaccess, I've cheched...Plus that I have other rules and commands running in htaccess. So the DEFLATE is the only one that does not work... Does anyone know why it works on my localhost and not on my webserver too ? Is there any module/extension that I need to enable on my webserver that I don't know of ?
Any ideas ?
Thank you!