搜尋 Mozilla 技術支援網站

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

了解更多

Disable aggressive caching for localhost

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

Hi, I'm using FF for year for development and had several problems with cached data in this time. Now, since the last update (automatic update yesterday), Firefox is caching my js for localhost and ignores nearly everything to stop it.

F5 and Ctrl+F5: no effect Enabling "Disable cache" in devtools: no effect changed about:config (no effect): browser.cache.disk.capacity 0 browser.cache.disk.enable false browser.cache.memory.enable false devtools.cache.disabled true

Only going to settings > privacy + security > Clear Data helps. But as you can imagine, that's really bad DX

I tried a FF-addon for clearing css cache, but it's outdated and doesn't work.

Is there anything I can do, to disable cache for localhost?

I don't understand why this aggressive caching problem is ignored for years and gets worse every year! Why are settings like "Disable cache" in devtools so broken? I tested other browsers and have not found the same issues. I don't want to switch browsers! I just want a cache free localhost! FF can cache the sh*t out of every webpage. But please leave localhost out of it!

Hi, I'm using FF for year for development and had several problems with cached data in this time. Now, since the last update (automatic update yesterday), Firefox is caching my js for localhost and ignores nearly everything to stop it. F5 and Ctrl+F5: no effect Enabling "Disable cache" in devtools: no effect changed about:config (no effect): browser.cache.disk.capacity 0 browser.cache.disk.enable false browser.cache.memory.enable false devtools.cache.disabled true Only going to '''settings > privacy + security > Clear Data ''' helps. But as you can imagine, that's really bad DX I tried a FF-addon for clearing css cache, but it's outdated and doesn't work. Is there anything I can do, to disable cache for localhost? I don't understand why this aggressive caching problem is ignored for years and gets worse every year! Why are settings like "Disable cache" in devtools so broken? I tested other browsers and have not found the same issues. I don't want to switch browsers! I just want a cache free localhost! FF can cache the sh*t out of every webpage. But please leave localhost out of it!

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題