Menu


How to compress static data



To save bandwidth you can implement compressing of the static data by the browser. This way the data sent to the browser is compressed taking up less bandwidth. The decompression is made by the browser.

To activate this, create or edit your .htaccess file and place the following code into it

AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html




Apache categories


Apache Installation? | Apache Configuration | Apache Troubleshooting?

Back to > Software




Google Search

 
www.lacisoft.com
WWW
2009-2011 (c) Lacisoft.com