https://store-images.s-microsoft.com/image/apps.26982.982a52cd-25a6-45af-a63b-9115401a8e76.bda3c4c1-1d19-45a7-bfd5-9976357f04e3.464af67b-57e2-46bf-b82f-ed9a129546a2

Dataweavers Spark

Dataweavers Pty Ltd

Dataweavers Spark

Dataweavers Pty Ltd

Flawless On-Demand ISR for Your Headless CMS and Next.js App

On-Demand Incremental Static Regeneration (ISR) enables real-time content updates for Next.js applications but implementing it at an enterprise scale is complex. Spark simplifies this by handling page revalidation, removal, and multi-site support—ensuring instant, reliable updates with minimal effort.

Description:

Static Site Generation (SSG) traditionally builds pages at compile time. When a Next.js application integrates with a CMS like Sitecore XM Cloud or Optimizely SaaS CMS, it generates pages based on published content. This approach works for static sites but falls short for dynamic CMS-driven websites where content updates are frequent.


Why On-Demand ISR?

On-Demand ISR gives content editors the ability to trigger updates instantly. Instead of relying on a time-based cache expiration, the CMS sends a webhook event to revalidate specific pages. This ensures:

  • New content appears immediately, even for first-time visitors and search engine crawlers.
  • Editors have precise control over when pages go live.
  • Time-sensitive content reaches users without delay.


Challenges at Enterprise Scale

While On-Demand ISR is powerful, scaling it in an enterprise environment introduces challenges:

  • API rate limits: Revalidating multiple pages can trigger throttling on SaaS CMS platforms.
  • Dependency resolution: Identifying and revalidating downstream pages dynamically.
  • Content lifecycle management: Handling deletions and unpublishing events.
  • High availability: Ensuring fallback pages exist during large-scale updates.
  • Multi-site & localization: Managing updates across multiple sites and languages.
  • Cache consistency: Ensuring proper cache invalidation and post-revalidation processing.


How Spark Simplifies On-Demand ISR

Spark is a SaaS solution purpose-built for enterprise-scale publishing from a CMS to Next.js. It removes complexity and streamlines On-Demand ISR with:

  • Automated revalidation logic: Simply register Spark’s API as a publish webhook in your CMS.
  • Intelligent dependency management: Spark determines which pages need revalidation.
  • Seamless Next.js integration: Use the provided NPM package to ensure instant updates.

With Dataweavers Spark, content goes live the moment it’s published—delivering fast, reliable updates without operational overhead.

https://store-images.s-microsoft.com/image/apps.52621.982a52cd-25a6-45af-a63b-9115401a8e76.bda3c4c1-1d19-45a7-bfd5-9976357f04e3.6ae9889d-5310-42bb-954e-27eb1e6ae74e
https://store-images.s-microsoft.com/image/apps.52621.982a52cd-25a6-45af-a63b-9115401a8e76.bda3c4c1-1d19-45a7-bfd5-9976357f04e3.6ae9889d-5310-42bb-954e-27eb1e6ae74e