asp.net mvc 页面缓存

在任务中需要实现点击浏览器back按钮,加载的前一页面需要强制刷新.

想要在前端通过js来绑定数据实现,但是觉得太麻烦,还是用另一种方式来解决: 不缓存该页面。

简单易懂:

Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
原文地址:https://www.cnblogs.com/lc-ant/p/4661456.html