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 |
| Reference manual: | httpcache.html , httpcache.pdf |
| Vignettes: |
Improving API client performance with httpcache (source, R code) |
| 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 imports: | crunch, geofi, itscalledsoccer, robis |
Please use the canonical form https://CRAN.R-project.org/package=httpcache to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.