- Joined
- Jun 14, 2016
- Messages
- 1,498
- Points
- 63
Hi there,
I tried this mod_deflate on my server as some hosting tutorials suggested.
But I am not sure it will compress the HTML, css and xml for my websites or not. Is there a way to check this or better code to compress all static files on my website?
I heard it can be done by enable gzip mod but I am not about that.
Any advice?
I tried this mod_deflate on my server as some hosting tutorials suggested.
Code:
<Directory /home/*/htdocs>
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE application/x-javascript
</Directory>
I heard it can be done by enable gzip mod but I am not about that.
Any advice?