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.

Package details

AuthorNeal Richardson [aut, cre]
MaintainerNeal Richardson <neal.p.richardson@gmail.com>
LicenseMIT + file LICENSE
Version1.2.0
URL https://enpiar.com/r/httpcache/ https://github.com/nealrichardson/httpcache/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("httpcache")

Try the httpcache package in your browser

Any scripts or data that you put into this service are public.

httpcache documentation built on Jan. 13, 2021, 7:46 p.m.