I have the following action in the controller:
[Cache(HttpCacheability.Public, Duration = 86400, VaryByParams = "*", VaryByCustom =开发者_开发知识库 "url")]
public virtual void SearchForm(TModel form)
{
...
}
in this case view is cached, but when i change data through admin panel, view get from cache.
Is there a way to reset cache when i changed data?
精彩评论