I am working in an ASP .net MVC Application. I have a JQuery UI tab whose Javascript to enable caching is as follows.
function LoadStudentDetailTabs() {
None of the above worked for me in IE. I had to put
[OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")]
At the page level, rather than on the Ajax method (which worked for Chrome)
So:
[OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")]
public ViewResult MyPage()
{
}
As well as:
[OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")]
public JsonResult MethodCalledByAjax()
{
}