Quote:
|
Originally Posted by Caocao Ok, so I have a web site and its doing pretty well I love it so far. The problem is I can't seem to find out how to get it to refresh if the user looking at it as a different set of cache then the site. What I mean is I'll post something new on there, but they have to hit refresh to see it, and that kinda bothers me. I know there has to be some kinda script for this to look at the users cache and make it up to date. www.thebsd.net is the url for the site, thanks ahead of time. |
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
This directive indicates cached information should not be used and instead requests should be forwarded to the origin server. This directive has the same semantics as the CACHE-CONTROL:NO-CACHE directive and is provided for backwards compatibility with HTTP/1.0.
Clients SHOULD include both PRAGMA:NO-CACHE and CACHE-CONTROL:NO-CACHE when a no-cache request is sent to a server not known to be HTTP/1.1 compliant.
HTTP/1.1 clients SHOULD NOT send the PRAGMA request-header. HTTP/1.1 caches SHOULD treat "PRAGMA:NO-CACHE" as if the client had sent "CACHE-CONTROL:NO-CACHE".
Also see EXPIRES.