/ Published in: PHP

yslow optimization
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Cache specified files for 31 days <filesmatch "\.(ico|flv|jpg|jpeg|png|gif|swf)$"> </filesmatch> # Cache HTML files for a couple hours <filesmatch "\.(html|htm)$"> </filesmatch> # Cache PDFs for a day <filesmatch "\.(pdf)$"> </filesmatch> # Cache CSS for 6 days <filesmatch "\.(css|css.gz)$"> </filesmatch> # Cache Javascripts for 31 days <filesmatch "\.(js|js.gz)$"> </filesmatch> Header append Vary Accept-Encoding # Turn ETags Off <IfModule mod_headers.c> </IfModule> FileETag None
URL: http://blog-das-oertchen.de/blog/2011/02/15/drupal-sinnvolle-optimierungen-teil-3
Comments
