addGlobalCache

Adds an entry to the global cache.

void
addGlobalCache
(
T
)
(
string key
,,
size_t cacheTime = 0
)

Parameters

key string

The key of the entry.

value T

The value to cache.

cacheTime size_t

The amount of time the value should be cached. (0 = forever)

Meta