What is the difference between using output cache
in view:
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Mahmure.WebUI.ViewModels.NewsletterVM>" %> <%@ OutputCache Duration="120" VaryByParam="none" %>
and in controller:
[OutputCache(Duration = 120, VaryByParam = "none")] public ActionResult Index() {