httpcache: Query Cache for HTTP Clients (original) (raw)
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 |
URL: | https://enpiar.com/r/httpcache/,https://github.com/nealrichardson/httpcache/ |
NeedsCompilation: | no |
Language: | en-US |
In views: | WebTechnologies |
CRAN checks: | httpcache results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=httpcacheto link to this page.