Query Cache for HTTP Clients

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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("httpcache")

1.2.0 by Neal Richardson, 6 years ago


https://enpiar.com/r/httpcache/, https://github.com/nealrichardson/httpcache/


Report a bug at https://github.com/nealrichardson/httpcache/issues


Browse source code at https://github.com/cran/httpcache


Authors: Neal Richardson [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports digest, httr, utils

Suggests httptest, knitr, rmarkdown, spelling


Imported by crunch, geofi, itscalledsoccer, rphylopic.

Suggested by robis.


See at CRAN