Quote:
Originally Posted by Lazorbeam
The htaccess files provided in this thread cache html.
I removed only the html caching part, and the problem was solved. Thanks!
Edit:
Remove
AddType text/html .html .htm
ExpiresByType text/html A3600
Right?
|
Here's what I use, does pretty much the same thing with a lot less lines.
*May not work on all server setups*
Code:
#Caches static files for 30 days
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4|css|js|xml)$">
Header set Cache-Control "max-age=2592000, public, must-revalidate"
</FilesMatch>
#Enables compression
#SetOutputFilter DEFLATE
AddOutputFilter DEFLATE xhtml html htm php css js xml xsl txt javascript x-javascript ico