Hacking the browser cache with JQuery and ASP.NET MVC
Posted by: Pablo M. Cibraro (aka Cibrax),
on 10 Feb 2012 |
View original | Bookmarked: 0 time(s)
Although JQuery provides a very good support for caching responses from AJAX calls in the browser, it is always good to know how you can use http as protocol for making an effective use of it. The first thing you need to do on the server side is to supports HTTP GETs, and identify your resources with different URLs for retrieving the data (The resource in this case could be just a MVC action). If you use the same URL for retrieving different resource representations, you are doing it wrong. An HTTP...