為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

When I use Firefox to monitor changes I do to HTML files locally, it does not show changes to images unless I restart the browser. Is this a bug?

  • 5 回覆
  • 17 有這個問題
  • 2 次檢視
  • 最近回覆由 fleece358

more options

I have the local and the remote versions of a page open in two tabs. I change one of the images (keeping the same name in the HTML) and upload the changed image. The tab that shows the remote page only takes a refresh to show the change. The tab showing the local page not. I have tried opening it in a new window but it still does not change. Only if I restart Firefox does it show the change. Why? Is this a bug?

I have the local and the remote versions of a page open in two tabs. I change one of the images (keeping the same name in the HTML) and upload the changed image. The tab that shows the remote page only takes a refresh to show the change. The tab showing the local page not. I have tried opening it in a new window but it still does not change. Only if I restart Firefox does it show the change. Why? Is this a bug?

由 Stekar 於 修改

被選擇的解決方法

Try using Ctrl-Shift-R or Ctrl-F5 to reload the page. This tells Firefox to reload all of the content on the page, ignoring cached copies of assets.

I'm not sure why this is happening in the first place, though I suspect it may have something to do with the fact that the remote copy is being loaded from a web server (which includes a bunch of headers that help browsers know when to grab a new copy of an asset), while the local copy is being loaded directly through the filesystem.

從原來的回覆中察看解決方案 👍 3

所有回覆 (5)

more options

選擇的解決方法

Try using Ctrl-Shift-R or Ctrl-F5 to reload the page. This tells Firefox to reload all of the content on the page, ignoring cached copies of assets.

I'm not sure why this is happening in the first place, though I suspect it may have something to do with the fact that the remote copy is being loaded from a web server (which includes a bunch of headers that help browsers know when to grab a new copy of an asset), while the local copy is being loaded directly through the filesystem.

more options

Thank you grantheaslip, this type of reload does show the changed images.

more options

grantheaslip's suggestion doesn't work for me; no change at all. (Thanks anyway.) Any other ideas? Is there another way to "hard" refresh? I don't see anything in the menu.

Also, it seems like this is a very recent problem. I thought in the past that a regular refresh did the job.

more options

It seems to be a WP issue. If you navigate into one of the pages on your website it loads all the new files. Works for me ;-)

more options

I also find that a "hard" refresh fixes simple changes in css, but when it comes to new images on page there is nothing I can do to get the images to show. The source code that firefox shows indicates the new image should be there. It is like image is missing, but no errors are indicated. All other browsers show the new image on refresh. It is ridiculous that I have to spend so much time, problem sloving this. I have had difficulty in the past but refreshes and restarts usually fix it, now 11.01 this problems is resilient.