Skip to contents

Clear or inspect a cached function's cache

Usage

cache_clear(f)

cache_info(f)

Arguments

f

A function previously wrapped with with_cache().

Value

cache_clear() returns NULL invisibly. cache_info() returns a list with backend ("cachem"), size, max_n, and max_age.