I am using Apache 2.2.16.

I have got the next HTML file during my htdocs folder:

<html>
 <link media="screen" type="text/css" href="/css/test.css" rel="stylesheet" />
 <body>XXXX</body>
</html>

I am attempting to make the CSS file cache during my browser to ensure that it doesn't make another request for this, aside from around the first page load.

However, each time I press refresh, I can tell the CSS file is loaded again in the server. I see 200 response codes for that file during my server logs.

I have got the next during my httpd.conf file:

<LocationMatch "\.(css)$">
 Header set Cache-Control "max-age=2592000"
 Header set Expires "Thu, 15 Apr 2020 20:00:00 GMT"
 Header unset Last-Modified
 Header set Content-Type text/css
 Header unset ETag
</LocationMatch>

Listed here are my response headers, reported by Firebug:

Date    Mon, 29 Nov 2010 10:48:49 GMT
Server  Apache/2.2.16 (Win32)
Accept-Ranges   bytes
Content-Length  18107
Cache-Control   max-age=2592000
Expires Thu, 15 Apr 2020 20:00:00 GMT
Content-Type    text/css
Keep-Alive  timeout=5, max=97
Connection  Keep-Alive

I have read a couple of articles about setting the caching headers, however i cannot see to have it working.

Any advice greatly appreciated.

I have seen similar issues with designs that by hand set expires &lifier cache-control. Just letting mod_expires do this "heavy-liftingInch might already solve these problems?