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 180 posts 541 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 388 posts 1360 karma points
    Sep 03, 2021 @ 01:43
Please Sign in or register to post replies

Write your reply to:

Draft