搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.