I'd like to enable compression of my web page resource and have added the following to my .htaccess file:
However it has no effect and when I leave out the IfModule tags, I receive a 500 error suggesting that mod_deflate is not enabled.
Is there a way to compress (gzip) my web page resources?
Code: Select all
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</IfModule>
Is there a way to compress (gzip) my web page resources?