Posted By

jink on 02/26/10


Tagged

apache gzip yui compression etag


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

mikael12
Moonsheeld


.htaccess: (YUI) Disable Etag, Compress Fonts, Compress HTML/CSS/JS


 / Published in: ActionScript
 

Etag Removal: http://developer.yahoo.com/performance/rules.html#etags Font Compression: http://www.phpied.com/gzip-your-font-face-files/ Compression: http://developer.yahoo.com/performance/rules.html#gzip

  1. # Remove ETags
  2. Header unset ETag
  3. FileETag None
  4.  
  5. #FontCompression
  6. AddType application/vnd.ms-fontobject .eot
  7. AddType application/octet-stream .ttf .otf .woff
  8. SetOutputFilter DEFLATE
  9.  
  10. #General Compression
  11. AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript application/json
  12. Header append Vary Accept-Encoding

Report this snippet  

You need to login to post a comment.