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.1.0 |
Depends: | R (≥ 3.0.0) |
Imports: | digest, httr (≥ 1.0.0), utils |
Suggests: | httptest, knitr |
Published: | 2017-10-17 |
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: | http://enpiar.com/r/httpcache, https://github.com/nealrichardson/httpcache |
NeedsCompilation: | no |
In views: | WebTechnologies |
CRAN checks: | httpcache results |
Reference manual: | httpcache.pdf |
Vignettes: |
Improving API client performance with httpcache |
Package source: | httpcache_1.1.0.tar.gz |
Windows binaries: | r-devel: httpcache_1.1.0.zip, r-release: httpcache_1.1.0.zip, r-oldrel: httpcache_1.1.0.zip |
macOS binaries: | r-release: httpcache_1.1.0.tgz, r-oldrel: httpcache_1.1.0.tgz |
Old sources: | httpcache archive |
Reverse imports: | crunch, crunchy, robis |
Please use the canonical form https://CRAN.R-project.org/package=httpcache to link to this page.