Revalidating Cache (Tag|Page) from External Application #63557
Replies: 1 comment 1 reply
-
|
Maybe do polling with a server action? Have the server action check if the order is updated, and if so, revalidate the path. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an external backend application that when i create an order, this order is updated in the backend and i have to send the new information to my frontend, but if i use next.js caching in this pages i can't
revalidateTagorrevalidatePagefrom the external backend, because accordingly with the next.js 14 docs the data will only be revalidate if the next page accessed is the page or one page with the cache revalidated.Anyone has some work arround to this situation?
Beta Was this translation helpful? Give feedback.
All reactions