Closed Bug 1827247 Opened 2 years ago Closed 2 years ago

Disable cache still used

Categories

(Core :: Networking, defect)

Firefox 111
defect

Tracking

()

RESOLVED DUPLICATE of bug 1784391

People

(Reporter: bugzilla, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0

Steps to reproduce:

  1. Open the F12 dev tools
  2. Select the Network tab
  3. Activate the option "disable cache"
  4. Modify a loaded resource (.js script, .css stylesheet etc.)
  5. Reload the page with the F5 key

Actual results:

Sometimes, apparently more often if a resource hasn't changed in a while (several minutes or longer), the cache is still used and serves the old resource file. This has the effect that the code changes I just made are not reflected on the page.

Reloading the page with Ctrl+F5 always loads the current file from the server. But it also resets the entire page state which can be undesirable.

If a new version was loaded once, a simple F5 suffices again for a short while.

This is a new issue or regression. I only noticed it in the past few days. And it's super annoying if my code changes are just ignored. I use that disable cache option in the dev tools on purpose and always keep the panel open while I'm writing such code. (I know the option only has an effect while the dev panel is open.)

Expected results:

The option "disable cache" has always disabled the cache in the past. That's what you'd expect from it. Now it sometimes doesn't work.

The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1784391
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.