download no-cache
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.
All Replies (9)
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.
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.
Ilungisiwe
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
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)
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).
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.
Where is the "no cache" checkbox? I don't see it when I pull down Tools>Web Developer.
Under the Network tab.
See also the Setting page in the toolbox (F1) under Advanced Settings.