Skip to content
Latchkey

What Is On-Demand Revalidation?

On-demand revalidation is triggering a cache refresh in reaction to a specific event instead of a fixed schedule. A webhook from a content system, for example, can tell the application to regenerate exactly the pages affected by an edit. It keeps content fresh the moment it changes without rebuilding everything on a timer.

Why it matters

Event-driven revalidation delivers updates immediately while avoiding the waste of frequent timed rebuilds. It pairs naturally with cache tags that scope which entries to purge.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →