ASP.NET MVC2 page is used to show order in browser as described in How to fill document header from jqgrid data
at page load javascript retrieves correct document from browser and bind it to page elements.
document id is specifiied in query string like:
www.mysite.com/GetDocument?Id=1
www.mysite.com/GetDocument?Id=2
document is cached in browser:
[OutputCache(Location = OutputCacheLocation.Downstream, Duration = 20 * 60,VaryByParam = "*")]
public ActionResult Index(int id)
However browser cache is not used since different page is cached for every query string. How to force borwser to cache page which does not depend on id parameter in query string ? Or is it better to pass id in post parameter ?