什么浏览器的后退按钮不会生成请求服务器 [英] What browsers' Back button doesn't generate request to server

查看:178
本文介绍了什么浏览器的后退按钮不会生成请求服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要测试对为其备份按钮不产生请求服务器浏览器我的Web应用程序。你能给我这样的浏览器的例子吗?

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?

推荐答案

这不取决​​于使用的浏览器,但在发送给它的HTTP响应头。如果浏览器是指示缓存页面的响应头,那么它会缓存页面。但是,如果它被指示不缓存页面,那么就不会缓存页面,并触发一个真正的要求。

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.

<一个href=\"http://stackoverflow.com/questions/49547/making-sure-a-web-page-is-not-cached-across-all-browsers/2068407#2068407\">You有超过在服务器端的响应头控制。

You have control over the response headers on the server side.

这篇关于什么浏览器的后退按钮不会生成请求服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆