How to add to a link to load fresh from server every time?
I need to review a document that is updated every day. I have a simple bookmark linked to this page. It works just fine. It always loads the page I reviewed yesterday ! :-) This requires that I must refresh to see latest page. I would think that LONG ago a simple addition to the (a) link would have been created which simply told ANY browser, get this fresh from the source server... DO NOT use what is saved locally. If such exists I have been unable to find it. The need for this is massive. Suppose a house for sale has a price reduction ? Are postings updated? I could go on and on...and on. Of course none of this addresses the time wasted clicking and clicking... I should add that this is not a computer or browser wide problem but applies ONLY to selected links. Thanks for what help you may provide./
Additional System Details
- Shockwave Flash 30.0 r0
- User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox should load the new version of a website without you have to load the page and then reload it. That's the default behavior of Firefox and the experience that you should have on nearly every website that you visit.
If you find that the old version of the page is being loaded, then it's being loaded from the Firefox cache, which means that the data caching settings on the web server are likely incorrectly configured.
Sorry Wesley, but that is not how my computer works. It's not that an "old version" is being loaded from the server, but rather from what has been stored in-PC from say, yesterday. If the browser, refreshes, it then loads the current or latest version from the server from over the Internet. The question is, "How to simply tell the browser on a link by link basis, don't get this "page" from in-PC (cache) but rather go fetch from the web / server. Said another way, "..don't use the cache on this one...". Many web pages are updated frequently because of what they contain. This simple capability or "message to browser" could/would save wasted time and maybe error./
Sites that update frequently often instruct Firefox NOT to cache the page, so any time you view the page, even 10 seconds from now, it needs to be re-retrieved from the server. Other pages set a short expiration. It sounds as though this particular page doesn't set a short expiration, so to minimize network traffic, Firefox hangs onto it as long as possible.
(Firefox may also fail to update a page in a tab you restored from a previous session. In the old days when every restore tab loaded immediately, it was a performance nightmare, so the pendulum has swung in the other direction.)
Of course you know you can reload the page bypassing the cache, e.g., using either
- Shift+click the reload button
I'm only aware of one trick for doing that as part of the URL, but I don't think you can do it with a regular bookmark. That is:
Add a parameter to the URL. For example, if you wanted:
and you didn't want the cached version, you could add
Any parameter that doesn't affect what the server sends you is fine. Problem is, bookmarks can't have dynamic variables (except the ones that send a query to a search engine), so I'm not aware of a way to use a bookmark to load
tomorrow, if you see what I mean.
Except of course using a script. You can save a script to your Bookmarks Menu or Bookmarks Toolbar as a bookmark button; then we call it a bookmarklet. A script can calculate the current time, so it can generate a 100% unique URL every time.
Are you interested in trying that? Do you want to share the URL? If you don't want to share the actual URL, a key question is whether it already has any parameters.
jscher2000: I think you have found a good work-around ! I will test tomorrow and see how it works on my every day page. What I find so interesting is that this is really an instruction to the browser to behave in this certain way. Perhaps in a future Firefox update a way to option this NPW function (now available from a right-click-list) could be added to the bookmark function so this always worked for selected bookmarks. Thank you !!
You can also try to modify this pref on the about:config page.
I clear the disk cache when I close Firefox to ensure that pages can't be reloaded from the cache on the next start.
cor-el: Thank you. I am aware that all can be cleared but here what I am attempting is to direct the action for loading a selected web page. Most of the time for me it matters little if the page is sourced online or locally. I also believe that local store is a good thing considering the added Internet load.