httpcache: Query Cache for HTTP Clients
Version 1.0.0

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.

AuthorNeal Richardson [aut, cre]
Date of publication2017-01-03 23:54:34
MaintainerNeal Richardson <neal.p.richardson@gmail.com>
LicenseMIT + file LICENSE
Version1.0.0
URL https://github.com/nealrichardson/httpcache
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("httpcache")

Popular man pages

cache-api: HTTP Cache API
cache-management: Manage the HTTP cache
dropCache: Invalidate cache
loadLogfile: Read in a httpcache log file
logMessage: Log a message
requestLogSummary: Summarize HTTP requests from a log
startLog: Enable logging
See all...

All man pages Function index File listing

Man pages

buildCacheKey: Construct a unique cache key for a request
cache-api: HTTP Cache API
cachedDownload: Cache the result of a file download
cached-http-verbs: Cache-aware versions of httr verbs
cachedPOST: Cache the response of a POST
cacheLogSummary: Summarize cache performance from a log
cache-management: Manage the HTTP cache
dropCache: Invalidate cache
halt: Stop, log, and no call
loadLogfile: Read in a httpcache log file
logMessage: Log a message
requestLogSummary: Summarize HTTP requests from a log
saveCache: Save and load cache state
startLog: Enable logging
uncached: Context manager to temporarily turn cache off if it is on

Functions

Files

inst
inst/doc
inst/doc/httpcache.html
inst/doc/httpcache.Rmd
inst/doc/httpcache.R
tests
tests/testthat.R
tests/testthat
tests/testthat/test-zzz-helper.R
tests/testthat/test-load-cache.R
tests/testthat/test-download.R
tests/testthat/test-cache.R
tests/testthat/test-cached-post.R
tests/testthat/test-drop-cache.R
tests/testthat/helper.R
tests/testthat/test-cache-query-params.R
tests/testthat/test-logging.R
NAMESPACE
R
R/log.R
R/cache.R
R/download.R
R/load-cache.R
R/http-verbs.R
vignettes
vignettes/httpcache.Rmd
MD5
build
build/vignette.rds
DESCRIPTION
man
man/dropCache.Rd
man/saveCache.Rd
man/cacheLogSummary.Rd
man/buildCacheKey.Rd
man/startLog.Rd
man/halt.Rd
man/logMessage.Rd
man/cachedDownload.Rd
man/cached-http-verbs.Rd
man/requestLogSummary.Rd
man/cachedPOST.Rd
man/cache-management.Rd
man/cache-api.Rd
man/uncached.Rd
man/loadLogfile.Rd
.Rinstignore
LICENSE
httpcache documentation built on May 20, 2017, 6:04 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.