Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I haven't started with the v7 framework but upgraded the v6 one. Its all working apart from the donut output caching, which has broken.
I'm on umbraco 7.2.1 now but for every controller action with a caching attribute on it, the action is still executed.
What am I missing?
this is the set up
<add name="OneHour" duration="36000" enabled="true" varyByCustom="url" location="Server" />
[DonutOutputCache(CacheProfile = "OneHour")]
public ActionResult StandardPage()
Have you extended Global.asax and implemented your own custom vary by string?
<%@ Application Codebehind="Global.asax.cs" Inherits="MyApplication.GlobalApplication" Language="C#" %>
public class GlobalApplication : UmbracoApplication
public override string GetVaryByCustomString(HttpContext context, string custom)
if (custom.ToLower() == "url")
return "url=" + context.Request.Url.AbsoluteUri;
return base.GetVaryByCustomString(context, custom);
Hope that helps.
Sorry, I've just realised what forum you posted in. Ignore my previous post as the Hybrid Framework already has the above :)
I haven't tried to upgrade the v6 version to v7 because it would break too many things. Is there something in the error log that could help?
I am also experiencing problem with the donut output caching, I have upgraded version 7 of the hybrid framework to use umbraco version 7.2.1.now I get the same output for same controllers. I noticed that the GetVaryByCustomString method in global.cs is never hit.
When you upgraded you've probably overridden the Global.asax file. It should inherit from Umbraco.Extensions.Utilities.Global: https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Site/Global.asax
That was the problem! Thanks Jeroen,
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted