Multiple choiceDifficulty 3
You need on-demand purge after a CMS publish. Which API fits best?
Answer
revalidateTag / revalidatePath
Choices
- revalidateTag / revalidatePath
- router.refresh only in the browser
- Delete .next manually on the server
- Set cookies to max-age=0