httpcache: 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.

Version: 1.2.0
Depends: R (≥ 3.0.0)
Imports: digest, httr (≥ 1.0.0), utils
Suggests: httptest (≥ 3.0.0), knitr, rmarkdown, spelling
Published: 2021-01-10
DOI: 10.32614/CRAN.package.httpcache
Author: Neal Richardson [aut, cre]
Maintainer: Neal Richardson <neal.p.richardson at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-US
In views: WebTechnologies
CRAN checks: httpcache results


Reference manual: httpcache.pdf
Vignettes: Improving API client performance with httpcache


Package source: httpcache_1.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): httpcache_1.2.0.tgz, r-oldrel (arm64): httpcache_1.2.0.tgz, r-release (x86_64): httpcache_1.2.0.tgz, r-oldrel (x86_64): httpcache_1.2.0.tgz
Old sources: httpcache archive

Reverse dependencies:

Reverse imports: crunch, crunchy, geofi, itscalledsoccer, robis,


Please use the canonical form to link to this page.