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 gmail.com>
BugReports: https://github.com/nealrichardson/httpcache/issues
License: MIT + file LICENSE
URL: https://enpiar.com/r/httpcache/, https://github.com/nealrichardson/httpcache/
NeedsCompilation: no
Language: en-US
In views: WebTechnologies
CRAN checks: httpcache results

Documentation:

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

Downloads:

Package source: httpcache_1.2.0.tar.gz
Windows binaries: r-devel: httpcache_1.2.0.zip, r-release: httpcache_1.2.0.zip, r-oldrel: httpcache_1.2.0.zip
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, UniProt.ws

Linking:

Please use the canonical form https://CRAN.R-project.org/package=httpcache to link to this page.