Configure Next.js site

Configure on-demand Revalidation for a Next.js site


Vist your Next.js site configuration page on Drupal to configure on-demand revalidation.

  1. Visit /admin/config/services/next.
  2. Click Edit next to your site.
  3. Click On-demand Revalidation.
  4. Fill in the following values:
  • Revalidate URL: http://localhost:3000/api/revalidate
  • Revalidate secret: secret
  1. Click Save