摘要:
一、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號