[tip] optimize your website acceleration via gzip and htaccess
if you dont care about ie4 users so use gzip compression now its a technique to compress all media html , js , css , images and the browser can decompress it before viewing that enhance the acceleration of your website
you can do it via htaccess
just add these few lines
you can do it via htaccess
just add these few lines
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# Or, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>
0 Responses to "[tip] optimize your website acceleration via gzip and htaccess"
Post a Comment