I have an action whose output is cached for 20 secs. If i add Action filters(OnActionExecuting & OnActionExecuted) for this action will it be called even if the cached view is taken or will it be called only once in 20secs when the view needs to be created again.
[OutputCache(Duration = 20, Location = OutputCacheLocation.Server, VaryByParam = "")]
public ActionResult Index()
{
ViewData["Message"] = "Welcome to ASP.NET MVC!";
return View();
}