User Guide¶ This section covers the main features of requests-cache. Basics¶ Installation Requirements Python Version Compatibility General Usage Sessions Patching Settings Backends Choosing a Backend Specifying a Backend Backend Options Testing Backends Exporting To A Different Backend Custom Backends Cache Files Relative Paths Absolute Paths System Paths Troubleshooting General Tips Logging Potential Issues Common Error Messages Bug Reports Advanced Features & Options¶ Cache Filtering Filter by HTTP Methods Cache Headers Conditional Requests Cache-Control Supported Headers Cache Inspection Response Details Cache Contents Expiration Expiration Precedence Expiration Values Expiration With URL Patterns Expiration and Error Handling Resetting Expiration Asynchronous Revalidation Removing Responses Request Options Read-Only Requests Request Matching Selective Parameter Matching Matching Request Headers Custom Request Matching Security Shared Server Environment Pickle Vulnerabilities Serializers Specifying a Serializer Built-in Serializers Response Content Format Serializer Security Custom Serializers Advanced Requests Event Hooks Streaming Requests Compatibility with other libraries Requests-HTML Requests-Futures Requests-OAuthlib Requests-Ratelimiter Internet Archive Requests-Mock Responses VCR