Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Disable aggressive caching for localhost

  • कोई प्रतियुत्तर नहीं
  • 0 यह समस्या है
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!

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.