Call
http:
for
[UrlRoute(Path = "home/cachetest")] [OutputCache(Duration = 10, VaryByParam = "none")] public ActionResult CacheTest() { return Content(DateTime.Now.ToString()); }
will show the same content every 10 seconds no matter how often I refresh the page.
Is it possible to easily add a sliding ending so that it does not change after 10 seconds if I refresh the page?
caching asp.net-mvc
Arnis lapsa
source share