- class tiled.client.cache.Cache(filepath=None, capacity=500000000, max_item_size=500000, readonly=False)¶
- __init__(filepath=None, capacity=500000000, max_item_size=500000, readonly=False)¶
__init__([filepath, capacity, ...])
Drop all entries from HTTP response cache.
Number of responses cached
Delete an entry from cache.
Get cached response from Cache.
set(*, request, response[, content])
Set new response entry in cache.
Size of response bodies in bytes (does not count headers and other auxiliary info)
Check that it is safe to write.
Max capacity in bytes.
Filepath of SQLite database storing cache data
Max size of a response body eligible for caching.
If True, cache be read but not updated.