设置页面在失效前在浏览器中缓存时间

代码:

<%Response.Expires=-1%>

<!DOCTYPE html>

<html>

<body>

<p>This page will be refreshed with each access!</p>

</body>

</html>

结果:

This page will be refreshed with each access!

相关文章