{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/2"}],"enrichment":{"capability":"Adds persistent HTTP caching to the requests library, allowing cached responses to be reused across sessions with configurable expiration and multiple storage backends.","skillfed_tags":["http-caching","performance-optimization","web-scraping"],"use_cases":["Speed up repeated API calls during development or testing by caching responses locally instead of hitting the server each time.","Reduce load on rate-limited APIs by reusing cached responses within expiration windows, avoiding unnecessary network requests.","Build resilient scrapers that can serve stale cached data if a request fails, improving reliability in unstable network conditions.","Cache responses with different expiration strategies per endpoint using Cache-Control headers or custom schedules.","Store HTTP responses persistently across program runs in SQLite, Redis, or other backends for long-term reuse."],"what_it_does":"requests-cache wraps the requests library to transparently cache HTTP responses, eliminating redundant network calls. It acts as a drop-in replacement for requests.Session or can be installed globally to patch all requests functions without code changes. Responses are stored persistently across program runs using configurable backends (SQLite by default, or Redis, MongoDB, DynamoDB, JSON, YAML, etc.) and can expire based on fixed time intervals, HTTP Cache-Control headers, or custom schedules. The library is designed for minimal setup\u2014zero configuration works out of the box\u2014but offers extensive customization for matching strategies, conditional requests, and cache invalidation.\n\nTypical use cases include reducing load on rate-limited APIs, speeding up repeated requests during development or testing, and improving performance in web scraping and data collection workflows. The package supports modern Python versions and is production-stable with no known vulnerabilities.","worth_installing":"Yes. requests-cache is production-stable, actively maintained, has no known vulnerabilities, and adds caching to requests with minimal friction. Install it if you make repeated HTTP requests, need to respect rate limits, or want to speed up development workflows. The permissive BSD-2-Clause license poses no restrictions."},"id":"requests-cache","links":{"html":"https://skillfed.io/packages/requests-cache","md":"https://skillfed.io/packages/requests-cache.md","pypi":"https://pypi.org/project/requests-cache/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-03","license_spdx":"BSD-2-Clause","license_treatment":"permissive","name":"requests-cache","python_support":"supports_current","summary":"A persistent cache for python requests"},"popularity":{"monthly_downloads":21000366,"position":1019,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.3.3"}
