Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Newest update broke ctrl+f5 cache javascript refresh?

  • 3 odpovědi
  • 1 má tento problém
  • 1 zobrazení
  • Poslední odpověď od Wej00

more options

I am a developer currently working with Javascript. Firefox updated either on the 28th or 29th of this week (I also updated to 50.0.2 after I found this problem, but the problem persists). Ever since this update, javascript cache no longer refreshes when I press ctrl+f5 or ctrl+shift+r. I can get it to refresh with the developer window open (and set to not cache in the settings), but clearly something broke, at least in my browser, with one of the most recent updates. Is there something I can do to fix this or is this a known bug?

I am a developer currently working with Javascript. Firefox updated either on the 28th or 29th of this week (I also updated to 50.0.2 after I found this problem, but the problem persists). Ever since this update, javascript cache no longer refreshes when I press ctrl+f5 or ctrl+shift+r. I can get it to refresh with the developer window open (and set to not cache in the settings), but clearly something broke, at least in my browser, with one of the most recent updates. Is there something I can do to fix this or is this a known bug?

Zvolené řešení

Hmm, normally, I would verify file retrieval using the Network Monitor section of the Developer Tools. I'm not sure how to check without opening the developer tools. Are you using the about:cache page, or just finding the script to be incomplete/incorrect compared with what you last saved?

Přečíst dotaz v kontextu 👍 1

Všechny odpovědi (3)

more options

Do you mean an external file (<script src="file.js"></script>) is not updating when you use Ctrl+Shift+r? It definitely should update. If your cache isn't behaving normally, you might clear the whole thing and see whether that improves the situation.

See: How to clear the Firefox cache

If you have a large hard drive, this might take a few minutes. If you do not see the number going down on the page, you can reload it using Ctrl+r to check progress.

In extreme cases of brokenness, you may need to clear the cache2 folder physically (while Firefox is closed). It is in the Local AppData path:

C:\Users\username\AppData\Local\Mozilla\Firefox\Profiles\123.abc\cache2

more options

Zvolené řešení

Hmm, normally, I would verify file retrieval using the Network Monitor section of the Developer Tools. I'm not sure how to check without opening the developer tools. Are you using the about:cache page, or just finding the script to be incomplete/incorrect compared with what you last saved?

more options

I cleared the cache manually, and though it would work to refresh the page once, it wouldn't refresh properly after. Watching the network, the javascript page didn't get called until I clicked a button. I then cleared the network console and suddenly, ctrl+f5 started refreshing properly again. (I also updated the javascript page for the main page once and hard refreshed, which could have caused it to work again). I don't exactly know why, but problem solved! Thanks for the help.

Upravil uživatel Wej00 dne