Search code examples
javascriptfirefoxbrowser-cache

Mozilla do NOT update source code


I'm developing a website.

I test it in Mozilla,
When I make a change to the website javascript code, I find that the change is not reflected in the browser(I checked code in debugger of Mozilla)

I understand that it's a cache problem because when I clear cache, the things work properly.

Have I identified the issue correctly?
If yes, is there a way to get rid of Clearing Cache every time?


Solution

  • Open the tools (F12). Go to Preferences > Advanced Parameters > Disable cache (when dev tool is open).

    This way you only disable cache in dev mode, and have no impact on other sites navigation.