Skip to contents

set_cache_backend() replaces the cache backend used by cache().

Usage

set_cache_backend(backend)

Arguments

backend

cache backend accepted by memoise::memoise

Details

This function allows controlling cache persistence (memory vs disk), eviction policies, and storage limits via the backend object.