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.

  • Damien Holley 181 posts 542 karma points
    Sep 02, 2021 @ 22:35
    Damien Holley
    0

    +1 to this. there are few bits of info out there on this and I am maintaining an older site that chews way too many resources for what it is doing (everything is being done through the contentService).

  • Marcio Goularte 389 posts 1362 karma points
    Sep 03, 2021 @ 01:43
  • 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