Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

meta http-equiv="Pragma"content="no-cache" equivalent code for firefox any version

  • 4 回覆
  • 5 有這個問題
  • 1 次檢視
  • 最近回覆由 knorretje

more options

this code is working for IE i.e. when I press back button after logout it does not show the previous pages but in fire fox it does not work . How can i solve it??

this code is working for IE i.e. when I press back button after logout it does not show the previous pages but in fire fox it does not work . How can i solve it??

所有回覆 (4)

more options

Googled around a little bit and found this: http://www.i18nguy.com/markup/metatags.html

Looks like

   <meta http-equiv="Cache-Control"content="no-cache">

might work.

more options

Thanks for your reply, but

I also tried with these two line also

<meta http-equiv="Expires" content="-1">

<meta http-equiv="cache-control" content="no-cache, no store,must-revalidate"/>

it does not work. Any answer will be accepted.

more options

please reply

more options

I can not find any information about meta element pragmas in the documentation of the meta element. I also cannot find information about meta element pragmas in the html5 specification. Maybe this is no longer supported?
See:
https://developer.mozilla.org/en/HTML/Element/meta#attr-http-equiv
http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#attr-meta-http-equiv
http://www.w3.org/TR/REC-html40/struct/global.html#adef-http-equiv
Maybe you can try to use real headers instead.