http://www.kiveo.net/blog/speed-up-your-site/
.htaccess (below)
Also Meet PHP Speedy
--------
HTACCESS stuff:
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)(\.gz)?$">
#Set everything that *probably* isn't dynamically generated to
#be cached by the browser for two weeks
Header set Expires "access plus 2 weeks"
#Unset ETags for everything that *probably* isn't dynamically
#generated
Header unset ETag
FileETag None
</FilesMatch>
# Gzip all text-based files
<FilesMatch ".(php|html|css|js)$">
SetOutputFilter DEFLATE
</FilesMatch>
Wednesday, October 26, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment