Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Marcel van Helmont 68 posts 259 karma points c-trib
    Mar 27, 2017 @ 13:58
    Marcel van Helmont
    0

    UmbracoContentCache & Hangfire backgroundtask

    On UmbracoContext you have the option to use the ContentCache but is there any way to do this with ApplicationContext?

    I have a Hangfire background task that don't have access to a httpcontext so i can't make a new UmbracoContext this way.

    I know that there is the ContentService but this does not read from cache.

    So hopefully somebody has any idea to read data from de contentcache so query publishedcontent

    Thanks.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies