Community Support Forums — WordPress® ( Users Helping Users ) — 2011-01-16T10:51:59-05:00 http://www.primothemes.com/forums/feed.php?f=5&t=1603 2011-01-16T10:51:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1603&p=5661#p5661 <![CDATA[Re: Cache-control headers.]]> Statistics: Posted by james — January 16th, 2011, 10:51 am


]]>
2011-01-13T03:47:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1603&p=5536#p5536 <![CDATA[Cache-control headers.]]>
So I enabled "Client-Side cache".

Here's are my current response header:
Code:
HTTP Status Code: HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
ETag: ""
Server: Microsoft-IIS/7.5
Date: Thu, 13 Jan 2011 08:41:21 GMT
Content-Length: 29272


Question: I would like browsers to cache pages for 1 hour and not to check for new versions until 3600 seconds. What is the best way to accomplish this?

Should I just add...
Code:
Cache-control: Max-Age=3600

to the server headers or is there a better way?

Also I'm curious without any cache-control added by me how long are browsers caching pages?

Thanks!

Statistics: Posted by james — January 13th, 2011, 3:47 am


]]>