It looks like if I load dynamic content using $.get()
, the result is cached in browser.
Adding some random string in QueryString seems to solve this iss
If you are using IE 9, then you need to use the following in front of your controller class definition:
[OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")]
public class TestController : Controller
This will prevent the browser from caching.
Details on this link: http://dougwilsonsa.wordpress.com/2011/04/29/disabling-ie9-ajax-response-caching-asp-net-mvc-3-jquery/
Actually this solved my issue.