Page is a not externally linkable
hottrout - 5:05 pm on Sep 12, 2012 (gmt 0)
This is the current settings which are at the top of my htaccess. I also meant to say that the tilde is not required with FilesMatch.
# BEGIN Expire headers
ExpiresActive On
ExpiresDefault "now"
# Configure mime expires
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType text/html "access plus 8 hours"
ExpiresByType application/xhtml+xml "access plus 8 hours"
<FilesMatch "\.(css|ico|gif|jpe?g|png|js|pdf|mov|wmv)$">
ExpiresDefault "access plus 1 month"
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</FilesMatch>
<FilesMatch "\.(html?|txt)$">
ExpiresDefault "access plus 3 days"
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</FilesMatch>
<FilesMatch "\.(php)$">
ExpiresDefault "access plus 4 hours"
Header set Cache-Control: "no-cache, must-revalidate"
</FilesMatch>
# Turn off the ETags
Header unset ETag
FileETag None
# Turn off Last Modified Header
Header unset Last-Modified