summaryrefslogtreecommitdiff
path: root/apache2/mods-available/deflate.conf
blob: d48cef3cd8f697b1010548c2f43ee30416c15bca (plain)
  1. <IfModule mod_deflate.c>
  2. <IfModule mod_filter.c>
  3. # these are known to be safe with MSIE 6
  4. AddOutputFilterByType DEFLATE text/html text/plain text/xml
  5. # everything else may cause problems with MSIE 6
  6. AddOutputFilterByType DEFLATE text/css
  7. AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
  8. AddOutputFilterByType DEFLATE application/json
  9. AddOutputFilterByType DEFLATE application/rss+xml
  10. AddOutputFilterByType DEFLATE application/xml
  11. </IfModule>
  12. </IfModule>
  13. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet