Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Newest update broke ctrl+f5 cache javascript refresh?

  • 3 trả lời
  • 1 gặp vấn đề này
  • 98 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Giải pháp được chọn

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?

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (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

Giải pháp được chọn

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.

Được chỉnh sửa bởi Wej00 vào