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
Hello,
Can anyone explain how I can use the Umbraco 8 Runtime cache. I would like to know how I can store an item in the runtime cache and retrieve it.
I've looked on the Umbraco docs but it only shows Umbraco 7, the internet seems to be sparse on information as well.
Any help (and code examples) will be greatly appreciated.
Thanks
Hi Paul,
to use the RuntimeCache in v8 you can use the IAppPolicyCache interface and inject that in your classes.
Hope that helps to get you starting. :)
Thanks David, exactly what I needed.
Cheers
is working on a reply...
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.
Continue discussion
Umbraco 8 Runtime Cache and how to use it
Hello,
Can anyone explain how I can use the Umbraco 8 Runtime cache. I would like to know how I can store an item in the runtime cache and retrieve it.
I've looked on the Umbraco docs but it only shows Umbraco 7, the internet seems to be sparse on information as well.
Any help (and code examples) will be greatly appreciated.
Thanks
Hi Paul,
to use the RuntimeCache in v8 you can use the IAppPolicyCache interface and inject that in your classes.
Hope that helps to get you starting. :)
Thanks David, exactly what I needed.
Cheers
is working on a reply...
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.