Learn R Programming

httpcache (version 0.1.2)

uncached: Context manager to temporarily turn cache off if it is on

Description

If you don't want to store the response of a GET request in the cache, wrap it in uncached(). Note that if the response is already found in the cache, as from a previous request that was not uncached, you will get the cached response. That is, this function prevents writing to cache, but it does not prevent reading from cache.

Usage

uncached(...)

Arguments

...
Things to evaluate with caching off

Value

  • Whatever ... returns.

Examples

Run this code
uncached(GET("http://httpbin.org/get"))

Run the code above in your browser using DataLab