Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.