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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("httpcache")

1.1.0 by Neal Richardson, 2 years ago


http://enpiar.com/r/httpcache, https://github.com/nealrichardson/httpcache


Report a bug at https://github.com/nealrichardson/httpcache/issues


Browse source code at https://github.com/cran/httpcache


Authors: Neal Richardson [aut, cre]


Documentation:   PDF Manual  


Task views: Web Technologies and Services


MIT + file LICENSE license


Imports digest, httr, utils

Suggests httptest, knitr


Imported by crunch, crunchy.


See at CRAN