anowell

anowell / cachedcurl / 0.1.1

README.md

Curl a URL and cache the result

Curl a URL and store the result in a data collection. If there is a cached copy already, check the time that it was cached and only perform the curl if the cache is older than the specified `cache duration`.

Input consists of 3 parameters:

URL - the URL to curl
Cache Duration: Number of seconds to consider the cached copy valid
Collection: Data URI where you cache results (requires write access)