Home > OS >  File update not reflected in browser
File update not reflected in browser

Time:05-19

I'm using Firefox and use console.log quite a bit.
It just got updated to version 100, might have something to do with it.

But now files updates stop appearing in the browsers localhost upon refresh.

It's like the browser is still just seeing the older version of the files.

I have through trying and testing, found out that by going:
History
->Clear Recent History
->Select only cache, over the last 1 hour
And then click ok.

After that I can update the file and the browsers localhost will then show the new version after f5.

But after some time it stops working again in that given file.
And i need to repeat this.

I have tried:
Restarting the computer.
Reinstalling Firefox.
Renaming the given file im using each time.
Running sudo apt get update/upgrade
All to no avail.

It's like there is some cache storing the file and Firefox has just stopped updating that cache as I update the file.

Chromium appears to have the same problem.

I pressed f12 and there manually cleared several of the storages and that appears to solve the problem. But only temporarily. After a bit of time, its back. It's like its emptying some cache, which once filled. Does not get updated again.

My OS is Linux Mint, 20.2. And my browser is Firefox, version 100.0.

What's going on, how can I solve this?
Is anybody else having this issue?

CodePudding user response:

I think I found the solution

In Firefox, go to:

about:config

And set the following values:

browser.cache.disk.enable = false

browser.cache.memory.enable = false

network.http.use-cache = false

CodePudding user response:

I think , you should try removing userdata from /home//.config or /home//.config Search for Mozilla or Firefox Folder

CodePudding user response:

For firefox I like to use the Clear Cache addon, especially when doing web development in order to get the most recent version of pages. You may also look at changing the way your browser caches by modifying your code, as outlined here.

  • Related