Query Cache for HTTP Clients
Construct a unique cache key for a request
HTTP Cache API
Manage the HTTP cache
Cache-aware versions of httr verbs
Cache the response of a POST
Summarize cache performance from a log
Invalidate cache
Stop, log, and no call
Read in a httpcache log file
Log a message
Summarize HTTP requests from a log
Save and load cache state
Enable logging
Context manager to temporarily turn cache off if it is on
In order to improve performance for HTTP API clients, 'httpcache' provides simple tools for caching and invalidating cache. It includes the HTTP verb functions GET, PUT, PATCH, POST, and DELETE, which are drop-in replacements for those in the 'httr' package. These functions are cache-aware and provide default settings for cache invalidation suitable for RESTful APIs; the package also enables custom cache-management strategies. Finally, 'httpcache' includes a basic logging framework to facilitate the measurement of HTTP request time and cache performance.
Useful links