What Is Draft Mode?
Draft mode is a feature that lets an authenticated previewer fetch and render not-yet-published content by disabling static caching for their session. The page renders on each request so the latest draft is shown. Other visitors continue to receive the normal cached, published output.
Why it matters
Draft mode lets editors verify how unpublished changes will look before going live, without affecting production caching for everyone else. It is a standard part of headless content preview flows.
Related guides
What Is On-Demand Revalidation?On-demand revalidation invalidates and rebuilds cached pages or data in response to an explicit event, like a…
What Is ISR Revalidation?ISR revalidation regenerates a static page in the background after a set interval, serving the cached version…
What Is a Route Handler?A route handler is server-side code mapped to a URL path that processes a request and returns a response, use…