How can I store simple key value pairs with Flask Cache? Something like this:
cache.set('key', 'some value')
cache.get('key')
Now I only store a function's return value using the cache.cached() decorator. That method seams to work, but I don't know how to manually clear that function's cache before it timeouts on it's own.
Idealy, I would like to be able to set cache values based on a key, like in the example. Is that possible using memcached as the backend?