Copied to clipboard

Flag this post as spam?

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


  • ACroner 12 posts 103 karma points
    Feb 23, 2021 @ 14:54
    ACroner
    0

    Clearing memory cache from code?

    Hello

    I have a minor issue on a site, sometimes items doesn't get included in the cache. Don't know why tbh and I think the webhost / app pool have some troubles a few times an hour. This is an ongoing investigation but I need a workaround in the meantime.

    All items is added to the cache if i click reload in the image below.

    Can I trigger this reload by code?

    I thought about using the IAppPolicyCache and clear cache there, but I'm uncertain if this is the same cache?

    enter image description here

  • ACroner 12 posts 103 karma points
    Feb 24, 2021 @ 13:15
    ACroner
    0

    Anyone got any ideas? Or can point me in the right course?

  • 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