Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

submitting a new request on browser back

 
Kaustubh Patil
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I hit a browser back button my initial page is picked from the cache.
What I want to do is submit / make a new request for the first page even on browser back. The first page should reload not just picked from cache.

Any pointers ??

Thanks in advance.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, prevent the page from caching.

This can be harder than it seems.
Do some google searches for "pragma" "no-cache" etc...
You may be able to find some 3rd party filters of tags that you can use to help you with this.

You'll also have to test in EVERY browser that you plan to support if your code is really counting on a new request.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic