![]() Get the value of a cache key with cache.get(): assert cache. These values can be set with: cache = Cache ( maxsize = 256, ttl = 0, timer = time. ![]() Let’s start with some basic caching by creating a cache object: from cacheout import Cache cache = Cache ()īy default the cache object will have a maximum size of 256 and default TTL expiration turned off.
0 Comments
Leave a Reply. |