摘要:
一、ASP.NETMVC中使用OutputCache实现服务器端页面级缓存 在ASP.NETMVC中,假如我们想要将某个页面(即某个Action)缓存在服务器端,可以在Action上标上以下特性:1 [OutputCache(Duration = 10, VaryByParam = "*", Location = OutputCacheLocation.Server)] 2 public ActionResult Login() 3 { 4 ViewBag.Message = "Your app description page. " + DateTim 阅读全文
posted @ 2013-05-11 20:58
Ronzy
阅读(971)
评论(1)
推荐(1)

浙公网安备 33010602011771号