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

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

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

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

download no-cache

  • 9 отговора
  • 1 има този проблем
  • 2 изгледи
  • Последен отговор от cor-el

more options

So I upload a file to my website. I download it. Then I correct the file, upload it again with the same name, and try to download it. But what I have now is the the old version, because it was in my cache. How can I download a file (or refresh a page ) WITHOUT consulting my cache? I don't want to erase my cache, I just want to ignore my cache in this ONE case.

So I upload a file to my website. I download it. Then I correct the file, upload it again with the same name, and try to download it. But what I have now is the the old version, because it was in my cache. How can I download a file (or refresh a page ) WITHOUT consulting my cache? I don't want to erase my cache, I just want to ignore my cache in this ONE case.

Всички отговори (9)

more options

Hi, this is something that has been around since Netscape. If working on pages and then want to see what you have done. You will need to clear the cache as it will load the older page.

Note there is code for putting in a webpage. Several. https://www.google.com/search?q=code+for+webpage+to+load+new+not+from+cache&ie=utf-8&oe=utf-8&client=firefox-b

You say file so I interpreted this a webpage. If it is a file, you would have to have it load on a webpage the link and click the link also with the added code so it refreshes the cache.

Please let us know if this solved your issue or if need further assistance.

more options

Nope. There are actually many ways to refresh pages. But I want to refresh a FILE that I downloaded. See here ...

I put a file called myfile.pdf on my website. I download it with http://www.mysite.com/myfile.pdf I change the file, but keep the name. I download it again with http://www.mysite.com/myfile.pdf This time I get the old file, not the new one!

I should not have to erase my old cache to fix this. Also, this has nothing to do with Google, so a fix that refers to Google is irrelevant.

Променено на от user700204

more options

Did I say the fix had anything to do with Google. Did you look at the URL as it showed sites that had other ways to add code to a website/page.

If you do not want to clear your cache and want to download the file then use a download manager. https://addons.mozilla.org/en-US/firefox/search/?platform=windows&q=download+manager

more options

You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • hold down the Shift key and left-click the Reload button
  • press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • press "Command + Shift + R" (Mac)
more options

Thank you. I thought I tried Shift-Reload, and it didn't work, but I understand it is supposed to. Next time I'm in a pickle about this I will try that again, and "Command + Shift + R" (I'm using a Mac).

more options

The response from cor-el is really the way to go but on a side note, if you are developing, then you can also open the developer's tool, check the no cache checkbox and when you reload the page it will always fetch a new copy. I commonly use this when I am actively editing and testing a site to avoid any nonsense, hope it helps as an alternative.

more options

Where is the "no cache" checkbox? I don't see it when I pull down Tools>Web Developer.

more options

Under the Network tab.

more options

See also the Setting page in the toolbox (F1) under Advanced Settings.