public override string GetCacheKey(wojilu.Web.Context.MvcContext ctx, string actionName)
 {
     return("__action_user_main_layout");
 }
 public override void UpdateCache(wojilu.Web.Context.MvcContext ctx)
 {
     CacheManager.GetApplicationCache().Remove(GetCacheKey(null, null));
 }
        public override void UpdateCache(wojilu.Web.Context.MvcContext ctx)
        {
            String url = new Link(ctx).T2(Site.Instance, new Groups.MainController().Index);

            base.updateAllUrl(url, ctx, Site.Instance);
        }
Example #4
0
 public override string GetCacheKey(wojilu.Web.Context.MvcContext ctx, string actionName)
 {
     return("__action_group_main_index");
 }
Example #5
0
 public override string GetCacheKey(wojilu.Web.Context.MvcContext ctx, string actionName)
 {
     return("post_index");
 }
Example #6
0
 public override void AfterAction(wojilu.Web.Context.MvcContext ctx)
 {
     CacheManager.GetApplicationCache().Remove(this.GetCacheKey(null, null));
 }
Example #7
0
        public override void UpdateCache(wojilu.Web.Context.MvcContext ctx)
        {
            String url = Link.To(Site.Instance, new Photo.MainController().Index);

            base.updateAllUrl(url, ctx, Site.Instance);
        }