I need to test my web application against a browser for which back button doesn't generate request to server. Could you give me examples of such browsers?
+3
A:
That doesn't depend on the browser used, but on the HTTP response headers sent to it. If the browser is by the response headers instructed to cache the page, then it will cache the page. But if it is instructed to not cache the page, then it will not cache the page and fire a real request.
You have control over the response headers on the server side.
BalusC
2010-04-27 14:58:39
+1
A:
Internet explorer 6, not sure about 7/8. Make sure you dont have the following meta statements in your header (they will force page reload):
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
Check this page for more info:
Luis
2010-04-27 14:59:23
This set is incomplete.
BalusC
2010-04-27 15:00:03
Care to elaborate?
Luis
2010-04-27 15:00:55
I can't easily install specific version of IE on my machine. Are there other browsers? Some ancient FF for example
wheleph
2010-04-27 15:01:32
@Luis: See the link in my answer. @Wheleph: use [IETester](http://my-debugbar.com/wiki/IETester/HomePage) or a VM.
BalusC
2010-04-27 15:01:43
You can use IE tester, which contains all the version of ie:http://www.my-debugbar.com/wiki/IETester/HomePage
Luis
2010-04-27 15:03:18
@BalusC thanks, you can control that from server side, but ie by default caches pages when using browser naviugation, i think this is the OP as asked originally.
Luis
2010-04-27 15:05:20
When you use the wrong/incomlplete resposne headers, yes. It's not only IE, but every browser which adheres the HTTP spec.
BalusC
2010-04-27 15:07:08
Are u sure Balus? From memory i recall having issues with ie with page caching and not with firefox when developing in ASP.NET, but maybe that has to do with the default headers sent to the browser...
Luis
2010-04-27 15:12:21