Disable cache still used
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: ygoe, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Steps to reproduce:
- Open the F12 dev tools
- Select the Network tab
- Activate the option "disable cache"
- Modify a loaded resource (.js script, .css stylesheet etc.)
- 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.
Comment 1•2 years ago
|
||
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.
Updated•2 years ago
|
Description
•