Skip to content

Commit

Permalink
Update docs/v3/develop/task-caching.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz authored Jan 31, 2025
1 parent 04cd10f commit c78efe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/v3/develop/task-caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Prefect comes prepackaged with a few common cache policies:
- `DEFAULT`: this cache policy uses the task's inputs, its code definition, as well as the prevailing flow run ID
to compute the task's cache key.
- `INPUTS`: this cache policy uses _only_ the task's inputs to compute the cache key.
- `TASK_SOURCE`: this cache policy uses _only_ the task's code definition (and **not** source code of nested tasks) to compute the cache key.
- `TASK_SOURCE`: this cache policy only considers raw lines of code in the task (and not the source code of nested tasks) to compute the cache key.
- `FLOW_PARAMETERS`: this cache policy uses _only_ the parameter values provided to the parent flow run
to compute the cache key.
- `NO_CACHE`: this cache policy always returns `None` and therefore avoids caching and result persistence altogether.
Expand Down

0 comments on commit c78efe2

Please sign in to comment.