mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-25 08:19:24 -05:00
d7808a2dde
This is the first of two PRs which seek to address #8518. This first PR lays the groundwork by extending ResponseCache; a second PR (#10158) will update the SyncHandler to actually use it, and fix the bug. The idea here is that we allow the callback given to ResponseCache.wrap to decide whether its result should be cached or not. We do that by (optionally) passing a ResponseCacheContext into it, which it can modify. |
||
---|---|---|
.. | ||
__init__.py | ||
cached_call.py | ||
deferred_cache.py | ||
descriptors.py | ||
dictionary_cache.py | ||
expiringcache.py | ||
lrucache.py | ||
response_cache.py | ||
stream_change_cache.py | ||
treecache.py | ||
ttlcache.py |