docs: add guide on clearing cache (#14133)

* docs: add guide on clearing cache

* update llms
This commit is contained in:
Shahed Nasser
2025-11-26 18:00:45 +02:00
committed by GitHub
parent e8990133e5
commit 2cc42ca0ef
6 changed files with 95 additions and 4 deletions

View File

@@ -43027,11 +43027,11 @@ In this guide, you'll learn how to clear cached data in Medusa.
## Why Clear Cache?
You should mainly cache data that isn't frequently changing, such as product details or categories. However, there are scenarios where you might need to clear the cache.
You should mainly cache data that isn't frequently changing, such as product details or categories. However, there are scenarios where you might need to clear the cache of that data manually.
For example, if you've integrated a third-party system that updates product information outside of Medusa, or if you've cached data from the third-party system, Medusa won't be aware of these changes.
For example, if you've integrated a third-party system that updates product information outside of Medusa, or if you've cached data from the third-party system, Medusa won't be aware of changes made externally.
In such cases, clearing the cache ensures that Medusa fetches the most up-to-date information from the source rather than relying on outdated cached data.
In such cases, you should clear the cache in Medusa to ensure it fetches the most up-to-date information from the source rather than relying on outdated cached data.
***