-
Suppose I have a product cached, which includes its related category data as nested information. If the category is updated in Directus, does the library provide a mechanism to invalidate or refresh the cached product data that contains this updated category? |
Beta Was this translation helpful? Give feedback.
Answered by
licitdev
Jul 19, 2023
Replies: 1 comment
-
Not in the current implementation, but it would be a useful feature. When updating a product, the related categories that are nested will be refetched. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
licitdev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not in the current implementation, but it would be a useful feature.
When updating a product, the related categories that are nested will be refetched.
However, when updating a category, the product cache is not invalidated.