App Router
Menu
Layouts
Nested Layouts
Grouped Layouts
Parallel Routes
File Conventions
Loading
Error
Not Found
Data Fetching
Streaming with Suspense
Static Data
Dynamic Data
Incremental Static Regeneration
Components
Client Context
Misc
Patterns
Client Component Hooks
CSS and CSS-in-JS
acme.com
/
Home
Post 1
Post 2
children
Static Data
This example statically caches data fetches for Post 1 and 2.
A random third post is fetched on-demand the first time it is requested.
Try navigating to each post and noting the timestamp of when the page was rendered.
Docs
Code
By
View code
or
deploy your own