Refresh cache after revalidateTag
#65860
Unanswered
LasseRosenow
asked this question in
Help
Replies: 1 comment 4 replies
-
router.refresh() |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I have an api route for on demand revalidation using
revalidateTag
.This works. But as I see is that this only purges the cache but does not refetch it.
Refetch happens on page visit.
But what I need is to actually refetch all the purged cache immediately.
For my rather small page this is the perfect solution that would give my users the fastest experience.
Is there an official way to do this?
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions