How can I use CiviCRM's cache table?
I found the corresponding reference page here:

https://docs.civicrm.org/dev/en/latest/framework/cache/

Looks straightforward:


Set a cache value with Civi::cache()->set('mykey', 'myvalue');
Get a cached value with Civi::cache()->get('mykey'); 
Delete a cached value with Civi::cache()->delete('mykey');
Flush the entire cache with Civi::cache()->flush();


As far as I know, the civicrm caching schema is pretty simple, there's just one key/value table.

As an aside - I just discovered that Herb @ freeform has contributed a recent patch for using Redis as the cache backend. I'm a Redis fan also, so thanks Herb!