Why doesn't Firefox cache my images and CSS

Posted by Richard A on Pro Webmasters See other posts from Pro Webmasters or by Richard A
Published on 2011-06-27T13:11:58Z Indexed on 2011/11/17 2:05 UTC
Read the original article Hit count: 289

Filed under:
|

I am using IIS7, I have already set up the following. But when I run Firefox it seems not to cache any of my images even with "remember history" set.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <staticContent>
      <clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />
    </staticContent>
  </system.webServer>
</configuration>

However when I use Firebug it still points to Firefox not caching images and CSS:

public,max-age=604800
Content-Type    text/css
Content-Encoding    gzip
Last-Modified   Mon, 27 Jun 2011 03:53:22 GMT
Accept-Ranges   bytes
Etag    "507968c27d34cc1:0"
Vary    Accept-Encoding
Server  Microsoft-IIS/7.5
X-Powered-By    ASP.NET
Date    Mon, 27 Jun 2011 13:06:41 GMT
Content-Length  5067
Request Headersview source
Host    www.xx.com
User-Agent  Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Accept  text/css,*/*;q=0.1
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip, deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive  115
Connection  keep-alive
Referer http://www.xx.com/
Cookie  __utma=62996397.135679654.1309106351.1309159743.1309164158.8; __utmz=62996397.1309106351.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=62996397

© Pro Webmasters or respective owner

Related posts about iis7

Related posts about iis