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 |
|
---|---|
Author | Neal Richardson [aut, cre] |
Maintainer | Neal Richardson <neal.p.richardson@gmail.com> |
License | MIT + file LICENSE |
Version | 1.2.0 |
URL | https://enpiar.com/r/httpcache/ https://github.com/nealrichardson/httpcache/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.