Hi there! Is there still no way to refresh the cac...
# prefect-cloud
n
Hi there! Is there still no way to refresh the cache without running a flow on a local machine and setting
PREFECT_TASKS_REFRESH_CACHE=true
or actually pushing a code change and then reverting it to
refresh_cache=True
? It just seems so crazy. Also, from what I can see the cache isn't wiped as soon as the flow run starts, but rather whenever each cached task is encountered. Are you guys while debugging just making tons of commits flipping the value of
refresh_cache
?
n
hi @Nikita Demir - this is a problem that's on our radar what would say would be the most intuitive experience for you here? we'll likely be working on an enhancement for this soon
n
I would expect it to follow similar to other prefect things that are one off, like kicking off a flow run, through either a cli command (probably my preferred way) or a ui thing
we've basically implemented a hard reset on the whole cache, so a way to with one click invalidate the whole cache, which is a fine starting point. But I could see wanting to specify which cache in more granularity should get cleared, but depends on how you're doing cache keys