Formula cache#

The formula system allows to grow very complicated computed series (by building them bottom-up), which are by default computed on the fly. The downside can be sluggish performance as complex formulas read hundreds of base series and does computations on them. Hence it can be useful to put them into a “cache”.

new_cache_policy

Create a cache policy.

edit_cache_policy

Modify an existing cache policy (by name).

delete_cache_policy

Delete a cache policy (by name).

set_cache_policy

Associate series with a cache policy.

unset_cache_policy

Dis-associate series from a cache policy.

cache_free_series

List the series that are available for association with a cache policy.

cache_policies

Return a list of cache policies names.

cache_policy_series

Return the list of series associated with a cache policy.

cache_series_policy

Return the cache policy of a series.

has_cache

Predicate to verify is a series formula has a cache.

delete_cache

Purge the cache of a formula.

refresh_series_policy_now