X
Tap here to go to the mobile version of the site.

Support Forum

How to add to a link to load fresh from server every time?

Posted

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./

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./
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 30.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

More Information

Wesley Branton
  • Top 25 Contributor
417 solutions 3952 answers

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.

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.
Was this helpful to you?
Quote

Question owner

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./

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./
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
7667 solutions 62434 answers

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

  • Ctrl+Shift+r
  • 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:

https://www.userchrome.org/what-is-userchrome-css.html

and you didn't want the cached version, you could add

https://www.userchrome.org/what-is-userchrome-css.html?day=13

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

https://www.userchrome.org/what-is-userchrome-css.html?day=14

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.

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 * Ctrl+Shift+r * 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: https://www.userchrome.org/what-is-userchrome-css.html and you didn't want the cached version, you could add https://www.userchrome.org/what-is-userchrome-css.html?day=13 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 https://www.userchrome.org/what-is-userchrome-css.html?day=14 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.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
7667 solutions 62434 answers

Helpful Reply

You know, one way to avoid viewing a cached version of a page is to load it in a private window (assuming you are starting from a regular, non-private window). You can right-click the bookmark > Open in a New Private Window, and Firefox can't used a cached version from your regular windows. It also can't use cookies from your regular windows, so if you were hoping to be automatically logged in, this wouldn't work for you.

You know, one way to avoid viewing a cached version of a page is to load it in a private window (assuming you are starting from a regular, non-private window). You can right-click the bookmark > Open in a New Private Window, and Firefox can't used a cached version from your regular windows. It also can't use cookies from your regular windows, so if you were hoping to be automatically logged in, this wouldn't work for you.
Was this helpful to you? 1
Quote

Question owner

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 !!

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 !!
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
16544 solutions 149349 answers

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.

You can also try to modify this pref on the <b>about:config</b> page. *http://kb.mozillazine.org/browser.cache.check_doc_frequency I clear the disk cache when I close Firefox to ensure that pages can't be reloaded from the cache on the next start.
Was this helpful to you?
Quote

Question owner

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.

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.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.