We Recommend

Pro Apache Pro Apache
In addition to installation, maintenance, and deployment, the book demonstrates how to configure Apache to use Perl, PHP, and Python as server-side scripting languages. And unlike other books on Apache, Pro Apache provides comprehensive information on both major revisions - 1.3 and 2.0 - of the software.


Ballyhoo


Posted By

iTony on 03/29/08


Tagged

css js html xml compress


Versions (?)


Who likes this?

5 people have marked this snippet as a favorite

SpinZ
koncept
rasmus
gAmUssA
heinz1959


compressing html, css, xml, js


Published in: Apache 


  1. # Compress output
  2. AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript
  3. BrowserMatch ^Mozilla/4 gzip-only-text/html
  4. BrowserMatch ^Mozilla/4\.0[678] no-gzip
  5. BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

Report this snippet 

You need to login to post a comment.