I found that I can specify `result_handler` for ta...
# prefect-community
a
I found that I can specify
result_handler
for task, but it doesn't check that data already exists in a repeatable run
c
Hi @Alexander Verbitsky - yes this is possible via caching: https://docs.prefect.io/core/concepts/persistence.html#output-caching
a
How to specify where data should be stored? As i understood cache works only during of execution of
flow
.
Or data will be cached in corresponds to configuration result_handler?
Copy code
The cache is stored in context

Note that when running Prefect Core locally, your Tasks' cached states will be stored in memory within prefect.context.
From documentation. What does it mean? It is mean that when i would not run locally behaviour will be changed?
c
Hi Alexander, check out these issues for some more info: https://github.com/PrefectHQ/prefect/issues/1221, https://github.com/PrefectHQ/prefect/issues/1303 and https://github.com/PrefectHQ/prefect/issues/1304 Let me know if you have any additional questions and I’d be happy to provide further info