Hey
@Ching!! Is this for 1.0 or 2.0? Either way I'll provide some documentation here:
Prefect 1.0 Caching
Prefect 2.0 Caching
1. Is there a reason you would want to forcefully clear the cache instead of setting the cache expiration to a lower amount?
2. In 1.0, this sounds like input caching, which can be found
here. For 2.0, The above documentation describes how results and states of tasks can be cached.
3. For 2.0, you can technically set the
PREFECT_LOCAL_STORAGE_PATH
variable, but I would be careful about using that as a solution. For 1.0, I would recommend looking at this
documentation .