[OutputCache(Duration = 3600, VaryByParam = "startindex;endindex")]
public ActionResult GetTop100Student(int startindex, int endindex)
{
artistlist = new List<Artist>();
artistlist = statisticsmanager.GetTopStudent(id, startindex, endindex);
ViewData["studentlist"] = studentlist;
return view();
}
我通过 jquery/json 调用该函数。
XHR 完成加载:“ http://EEE.COM/Top100/GetTop100Student/?startindex=1&endindex=10 ”。jquery-1.4.4.min.js:145
XHR 完成加载:“ http://EEE.COM/Top100/GetTop100Student/?startindex=11&endindex=20 ”。jquery-1.4.4.min.js:145
XHR 完成加载:“ http://EEE.COM/Top100/GetTop100Student/?startindex=21&endindex=30 ”。jquery-1.4.4.min.js:145
XHR 完成加载:“ http://EEE.COM/Top100/GetTop100Student/?startindex=31&endindex=40 ”。jquery-1.4.4.min.js:145
XHR 完成加载:“ http://EEE.COM/Top100/GetTop100Student/?startindex=41&endindex=50 ”。jquery-1.4.4.min.js:145
我在输出缓存中进行每次调用。我的问题是:如何删除此输出缓存。请任何人解决这种解决方案。谢谢提前