Ok, this is what I found.

----------------------------

When a client tries to revalidate a cache entry, and the response it receives contains a Date header that appears to be older than the one for the existing entry, then the client SHOULD repeat the request unconditionally, and include

       Cache-Control: max-age=0
to force any intermediate caches to validate their copies directly with the origin server, or

       Cache-Control: no-cache
to force any intermediate caches to obtain a new copy from the origin server.

and ----------------------

If a cache receives a 5xx response while attempting to revalidate an entry, it MAY either forward this response to the requesting client, or act as if the server failed to respond. In the latter case, it MAY return a previously received response unless the cached entry includes the "must-revalidate" cache-control directive (see section 14.9).



I'm venturing to say that this is a vaild way of setting a no-cache script for your pages.



Karl



On Apr 26, 2010, at 4:12 AM, Dave Watts wrote:

How would I go about insuring quality on a script like this?
By no means am I randomly grabbing codes.

The RFCs cover in detail all of the things you can do to control
caching with HTTP response headers:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to