Still True?
← Back to the board
Route Handlers

GET Route Handlers are cached by default and treated as static.

officialNext.js docs (Pages Router and v13 to v14 era)confidence 35%current as of Jan 2024

In Next.js 13 to 14 a GET Route Handler was cached by default then treated as static output. You opted out with dynamic = 'force-dynamic' or by reading request time data. Next.js 15 changed the default to uncached so advice that assumes caching is on now returns stale responses.

Related claims