https://prefect.io logo
t

Tom Forbes

05/27/2021, 11:13 AM
The docs on output caching say that cached states will be stored in memory when running prefect core locally. This seems like a strange limitation, it’s quite handy during debugging to just do
flow.run()
, but not having any caching is anoying. Is there a way to work around this to enable caching for locally run tasks?
k

Kevin Kho

05/27/2021, 1:50 PM
Hi @Tom Forbes, I don’t think so for caching because it’s actually querying the tasks with cached states on the backend. I think it might work if you use
targets
instead because that is caching based on the existence of a file.
3 Views