搜尋 Mozilla 技術支援網站

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

Learn More

Disable clearing cache when reloading a page

  • 無回覆
  • 1 有這個問題
  • 1 次檢視
more options

When you reload a page (pressing F5, clicking the reload button, etc.) (rather than navigating to the page some other way), the cache for the current site is cleared and all resources (images etc.) are requested with `Cache-Control: max-age=0` (at least, that's what seems to be happening)

Is there some way to disable this behavior? I thought Ctrl+F5 or shift+reload was supposed to clear cache, but it seems like it's no different than reloading normally?

When you reload a page (pressing F5, clicking the reload button, etc.) (rather than navigating to the page some other way), the cache for the current site is cleared and all resources (images etc.) are requested with `Cache-Control: max-age=0` (at least, that's what seems to be happening) Is there some way to disable this behavior? I thought Ctrl+F5 or shift+reload was supposed to clear cache, but it seems like it's no different than reloading normally?