Skip to contents

Main functions

GET() PUT() POST() PATCH() DELETE()
Cache-aware versions of httr verbs
cachedPOST()
Cache the response of a POST
dropCache() dropOnly() dropPattern()
Invalidate cache
uncached()
Context manager to temporarily turn cache off if it is on

Logging

startLog()
Enable logging
logMessage()
Log a message
halt()
Stop, log, and no call
loadLogfile()
Read in a httpcache log file
requestLogSummary()
Summarize HTTP requests from a log
cacheLogSummary()
Summarize cache performance from a log

Cache API

cacheOn() cacheOff() clearCache()
Manage the HTTP cache
hitCache() getCache() setCache()
HTTP Cache API
saveCache() loadCache()
Save and load cache state
buildCacheKey()
Construct a unique cache key for a request