Latest LQ Deal: Linux Power User Bundle
Go Back > Blogs > Skaperen
User Name


Rate this Entry

Browsers still re-fetch pages when using back button

Posted 04-11-2012 at 12:42 PM by Skaperen

Browsers these days are still trying to re-fetch data when I press the infamous "back button". I think this was always a dumb idea.

No doubt that is the cause for many cases of web site double ordering. Someone backs up so they can print out the results of a previous page where they committed their order, and it causes the data to POST again, which places another order. Now days, for POST, you get a pop-up that says the browser needs to re-post the data.


And many web sites have active dynamic content that doesn't need POST, such as with query strings on the URL, or the data in the URL, or in cookies.

In the early days, I can understand web browsers choosing to NOT cache page results because disk drives were small. For at least a decade, now, this is no longer true. Browsers will hold previous content in tabs successfully, and that has never been a problem (except for some artificial limits on number of tabs by some browsers). So memory and storage is clearly not an issue up to a point which is very large.

What I think a browser SHOULD DO, or at least SHOULD allow a user option to make it do, is this. When the back button is pressed, or a drop down selection is made for any past page, just use the cached content and/or cached rendering of that content, and redisplay it WITHOUT fetching. If the user wants it re-fetched, there is already a "reload" button to do that with. A limit on the number of back pages saved is OK. Just throw away pages too far back. This limit should default to something useful like 100.
Posted in Uncategorized
Views 5133 Comments 2
« Prev     Main     Next »
Total Comments 2


  1. Old Comment
    iirc opera didn't do such things in the past. not sure about newest versions. i guess you're talking about so-called "browser" "firefox" or there are more examples of such ugly code?
    Posted 04-11-2012 at 01:27 PM by Web31337 Web31337 is offline
  2. Old Comment
    I have not tried Chrome or Safari, either. But Firefox, Konqueror, and that one from Redmond do this.
    Posted 04-11-2012 at 01:36 PM by Skaperen Skaperen is offline


All times are GMT -5. The time now is 06:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration