06 October 2009

How do you prevent caching of pages in Firefox?

This is something that seems impossible in Firefox: Prevent HTML pages from being cached. The following HTTP headers work fine for IE, but not Firefox (at least not version 3.5.3):
<meta http-equiv="Cache-Control" content="no-store, must-revalidate, no-cache, private, max-stale=0, post-check=0, pre-check=0"/>
<meta http-equiv="Max-Age" content="0"/>
<meta http-equiv="Keep-Alive" content="timeout=3, max=993"/>
<meta http-equiv="PRAGMA" content="NO-CACHE"/>
<meta http-equiv="Expires" content="Sun, 20 Oct 1844 05:00:00 GMT"/>
Anyone found a reliable way to prevent caching of HTML pages in Firefox?

No comments: