2011-08-30 94 views

回答

0

在MVC中,你可以在Controller类中设置它,所以视图不使用缓存;

public ActionResult User() 
{ 
    Response.CacheControl = "no-cache"; 
    return View(); 
}