Note that the cache can be cleared manually with `clear_cache`, which may be preferable.