- ObjectCache.put(key, value, cost, nbytes=None)¶
Put cache item.
- keyuniquely identifies content
May be any Python object. For future-proofing, the object should be pickle-able, as an _external_ object cache will be added in the future.
Time in seconds that this value cost to obtain.
- nbytesbytesize, optional
Computed (with best effort) if not provided.