Back Button Refresh: Issues & Solutions on PF

  • Thread starter TurtleMeister
  • Start date
In summary, the browser caching on the PF main page is a combination of server side scripting and which browser you're using. Some users prefer the cached version over the updated version.
  • #1
TurtleMeister
896
98
Second try at posting this. Timed out the first time.

When I am browsing PF and I use my back button (firefox), the page that I'm going back to refreshes. It has not always been that way, and most other forums that I visit do not do that. In other words, using the back button fetches the previous page that is stored in the cache. I'm not sure about the timing, but I think it changed around the time PF moved to a new server. I'm no expert with this stuff, but it seems to me that refreshing the page this way would increase bandwidth for the server and slow things down. I would prefer to get my previous page immediately from the cache rather than wait for the page to reload. And if I need the page updated, all I have to do is manually refresh it. I've noticed others posting about the forums being slow and I was just wondering if this could be contributing to the problem.
 
Physics news on Phys.org
  • #2
There is no Lazarine mechanism here... I've developed a habit of copying every so often. The other option is the site logging you... I prefer this, but you can use Lazarus (the addon) with Firefox to achieve the result you want.
 
  • #3
Thanks for the reply, but I think you misunderstood my post. I'm talking about browser caching. When you click the back button on your browser it will take you back to the previous web page. If the page reloads from the web site, then it may take a few moments. But if it is retrieved from the browser's cache it will display instantly. That is the way it use to work at PF (I got the cache version when doing the back button). But at some point that changed, and now I get the page reloaded from the website each time I use the back button (takes longer and increases bandwidth usage). How it works appears to be a combination of server side scripting and what browser you're using. Here is a blog post that talks about this:

http://blog.httpwatch.com/2008/10/15/two-important-differences-between-firefox-and-ie-caching/

I tried using both Firefox and IE and got the same results at PF (page reloads on back button). I tried visiting another forum and got mixed results (page reloaded for IE but I got the cache with Firefox).

Edit:

From PF main page:

Code:
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
 
Last edited:
  • #4
TurtleMeister said:
Thanks for the reply, but I think you misunderstood my post. I'm talking about browser caching. When you click the back button on your browser it will take you back to the previous web page. If the page reloads from the web site, then it may take a few moments. But if it is retrieved from the browser's cache it will display instantly. That is the way it use to work at PF (I got the cache version when doing the back button). But at some point that changed, and now I get the page reloaded from the website each time I use the back button (takes longer and increases bandwidth usage). How it works appears to be a combination of server side scripting and what browser you're using. Here is a blog post that talks about this:

http://blog.httpwatch.com/2008/10/15/two-important-differences-between-firefox-and-ie-caching/

I tried using both Firefox and IE and got the same results at PF (page reloads on back button). I tried visiting another forum and got mixed results (page reloaded for IE but I got the cache with Firefox).

Edit:

From PF main page:

Code:
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

Ahhh... personally I prefer the updates... it just prevents needless F5 mashing.
 
  • #5
Well, obviously I prefer the cache version. Most of the time when I use the back button, it's because I want to quickly return to the previous page. If I wanted an updated page then I could just use the navigation links at the top of the page, or use the browser reload button. But when a page uses "no-cache headers", the user does not have an option. I've read that Opera has a way to get around this, but I haven't tried it.
 
  • #6
TurtleMeister said:
Well, obviously I prefer the cache version. Most of the time when I use the back button, it's because I want to quickly return to the previous page. If I wanted an updated page then I could just use the navigation links at the top of the page, or use the browser reload button. But when a page uses "no-cache headers", the user does not have an option. I've read that Opera has a way to get around this, but I haven't tried it.

Given the lack of choice inherent in this current setup, even though it's not my preference I'd have to side with you on this one. If it's a matter of offering such a choice, I'd put it out there, but it may well be that there is no time to do it right now.
 

1. What is a back button refresh issue on PF?

A back button refresh issue on PF (page fragment) refers to a problem where navigating back to a previously visited page using the browser's back button results in a page that is not updated or refreshed properly. This can be caused by various factors such as caching, asynchronous content loading, or incorrect coding.

2. How does a back button refresh issue affect user experience?

A back button refresh issue can greatly affect user experience as it can cause confusion and frustration for users who expect the page to be updated when they navigate back. This can lead to a negative perception of the website or application and may result in users abandoning the site or app.

3. What are some common solutions to fix back button refresh issues on PF?

Some common solutions to fix back button refresh issues on PF include disabling caching, using proper HTTP headers, implementing a server-side redirect, or using JavaScript to refresh the page content. It is also important to ensure that the page is properly coded and all asynchronous content is properly loaded.

4. How can I prevent back button refresh issues from occurring on my website or application?

To prevent back button refresh issues, it is important to follow best practices when coding and designing your website or application. This includes using proper HTTP headers, avoiding caching of dynamic content, and properly handling asynchronous content loading. Regular testing and debugging can also help identify and resolve any potential issues.

5. Are there any tools or resources available to help with back button refresh issues on PF?

Yes, there are various tools and resources available to help with back button refresh issues on PF. These include browser extensions such as Web Developer, which can disable caching and simulate a back button refresh, as well as online forums and communities where developers can seek advice and assistance from others who have encountered similar issues.

Similar threads

  • Feedback and Announcements
Replies
6
Views
965
  • Feedback and Announcements
Replies
11
Views
2K
  • Feedback and Announcements
Replies
1
Views
2K
  • Feedback and Announcements
Replies
3
Views
3K
  • Feedback and Announcements
Replies
2
Views
1K
  • Feedback and Announcements
Replies
3
Views
2K
Replies
64
Views
3K
  • Feedback and Announcements
Replies
1
Views
208
  • Feedback and Announcements
Replies
6
Views
2K
  • Feedback and Announcements
2
Replies
46
Views
8K
Back
Top