Question · Next.js course · Module 9: Integrations and Advanced Features

Data Revalidation After Mutation

Which Next.js function allows refreshing data based on a cache tag after executing a Server Action?

Answer options

  • revalidateTag
  • refreshCache
  • invalidateQuery
  • clearCacheByTag

You can check the correct answer by solving this task in the CodeWorlds game.