{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"}],"enrichment":{"capability":"Adds transparent request caching to aiohttp.ClientSession, storing HTTP responses persistently across multiple backends (SQLite, Redis, MongoDB, DynamoDB, DragonflyDB) with configurable expiration and filtering.","skillfed_tags":["async-http","caching","persistence"],"use_cases":["Speed up web scraping or API polling by caching responses and avoiding rate limits or slow servers.","Reduce load on external APIs during development and testing by replaying cached responses.","Build resilient microservices that can serve stale cached responses when a backend is temporarily unavailable.","Cache responses from slow or rate-limited third-party APIs to improve application latency.","Persist HTTP responses across application restarts using SQLite or a shared Redis instance."],"what_it_does":"aiohttp-client-cache wraps aiohttp.ClientSession to transparently cache HTTP responses, avoiding redundant network requests for identical URLs. It is designed as a drop-in replacement: you instantiate CachedSession with a cache backend instead of ClientSession, and responses are automatically stored and reused according to your configuration.\n\nThe package supports multiple storage backends\u2014SQLite (file-based, no external service), Redis, MongoDB, DynamoDB, and DragonflyDB\u2014so you can choose persistence that fits your deployment model. You configure cache expiration per-URL pattern, HTTP method, status code, and request headers; responses can be set to never expire, expire after a fixed duration, or follow HTTP cache headers. It is built on the same principles as requests-cache but adapted for async/await workflows.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and solves a genuine problem for async Python applications that make repeated HTTP requests. It is particularly valuable if you are already using aiohttp and need transparent caching without rewriting your session logic. The permissive MIT license and support for multiple backends make it flexible for both development and production use."},"id":"aiohttp-client-cache","links":{"html":"https://skillfed.io/packages/aiohttp-client-cache","md":"https://skillfed.io/packages/aiohttp-client-cache.md","pypi":"https://pypi.org/project/aiohttp-client-cache/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-07","license_spdx":null,"license_treatment":"permissive","name":"aiohttp-client-cache","python_support":"supports_current","summary":"Persistent cache for aiohttp requests"},"popularity":{"monthly_downloads":222186,"position":9268,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.14.3"}
