我们的调查向我们表明,并非所有浏览器都以统一的方式尊重http缓存指令.
出于安全原因,我们不希望在我们的应用程序某些网页缓存,有史以来,通过Web浏览器.这必须至少适用于以下浏览器:
我们的要求来自安全测试.从我们的网站注销后,您可以按后退按钮查看缓存页面.
我有一个基于Spring Web模型 - 视图 - 控制器(MVC)框架的项目.在WebLogic Server版本上部署的Spring Web模型 - 视图 - 控制器(MVC)框架版本为3.2.8:12.1.2.0.0
我在1 JSP中有这个表单
<form:form commandName="deviceForm"
name="deviceForm"
id="deviceFormId"
method="post"
action="${contextPath}/device/${deviceForm.device.id}"
htmlEscape="yes"
enctype="multipart/form-data">
Run Code Online (Sandbox Code Playgroud)
我使用POST方法做了几个动作..之后我使用浏览器(IE11)后退按钮,我收到了这个错误
Webpage has expired
Most likely cause:
•The local copy of this webpage is out of date, and the website requires that you download it again.
Something to try:
Click on the Refresh button on the toolbar to reload the page. After refreshing, you might need to navigate to the specific webpage again, or re-enter information.
More information …Run Code Online (Sandbox Code Playgroud)