nextjs
We are excited to announce the beta release of support for Next.js On-Demand Incremental Static Regeneration for Pages Router on Atlas! 🎉
This feature allows you to manually trigger the revalidation of static pages based on specific events, ensuring your content is always up-to-date without the need for a full site rebuild.
Getting started
  1. Install the @wpengine/atlas-next package in your project
  2. Set up an API route in your Next.js or Faust.js project to handle revalidation requests.
  3. Secure your API route with a secret token stored in your .env.local file.
  4. Use webhook plugins or WordPress hooks to trigger the API route when content is updated.
Visit our documentation for a detailed onboarding guide.
Notes
  1. This feature is currently in beta. To use it, ensure you are running Next.js version
    13.5.1
    or higher.
  2. Currently, our support of On-Demand ISR is limited to Pages Router only and does not include support for rewrites, Next.js internationalization, or the App Router.
  3. This capability is also fully compatible with Faust.js, enabling seamless integration for headless WordPress sites.
For more information about current limitations visit our documentation.
Feedback
We're eager to hear your feedback! Please use our WP Engine feedback form to contact us.
Stay tuned as we continue to enhance our platform with more features to keep the content of your headless WordPress site fresh and up-to-date!