I am attempting to use the far future expires method to cut down my site's load time.
However when I access static files in firefox, the server still responds with HTTP/1.x 304 NOT MODIFIED. The request shouldn't even be made if the files are cached right?
Here are the relevant httpd.conf lines I have for apache 2.2:
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
<FilesMatch "\.(ico|pdf|flv|jpe?g|png|gif|js|css|swf)$">
ExpiresActive On
ExpiresDefault "access plus 1 year" </FilesMatch>
YSlow says that none of the static files have a far-future expiration date. Does anyone know what I'm doing wrong?