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


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/104138-umbraco-8-runtime-cache-and-how-to-use-it