cache_functions: Set and get cache validity time

Description Usage Arguments Value Functions

Description

Set and get how long the cache is valid and the files are downloaded only once and then returned from the cache.

Usage

1
2
3

Arguments

length

numeric time in seconds how long the cache is valid.

Value

get_cache_length() numeric length of cache validity (default value is 7 days)

Functions


JanCaha/CzechData documentation built on Dec. 25, 2021, 1:49 p.m.