Persistent cache for aiohttp requests
Maintained. Last release 8 weeks ago, commits in 7 of the last 26 weeks. Weaker on release cadence.
pip install aiohttp-client-cacheaiohttp-client-cache
aiohttp-client-cache is an async persistent cache for aiohttp client requests, based on requests-cache.
Features
- Ease of use: Use as a drop-in replacement
for
aiohttp.ClientSession - Customization: Works out of the box with little to no config, but with plenty of options available for customizing cache expiration and other behavior
- Persistence: Includes several storage backends: SQLite, DynamoDB, MongoDB, DragonflyDB and Redis.