I am trying to configure some cache management options in my htaccess file.
At the moment, it looks like this:
<FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf|css|js|html|pdf)$"> Header set Cache-Control "max-age=2592000, public, must-revalidate" Header unset ETag FileETag None </FilesMatch>
However, I read (and wanted to add) Header unset Last-Modified, so it would be something like:
<FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf|css|js|html|pdf)$"> Header set Cache-Control "max-age=2592000, public, must-revalidate" Header unset Last-Modified Header unset ETag FileETag None </FilesMatch>
However, using this (according to Firebug) doesn't load anything from the cache at all (whereas the first technique loads everything)
Am I doing something wrong? The syntax seems correct.
a.
source share