App Router
Menu
Layouts
Nested Layouts
Grouped Layouts
Parallel Routes
File Conventions
Loading
Error
Not Found
APIs
useLinkStatus
Data Fetching
Streaming with Suspense
Static Data
Dynamic Data
Incremental Static Regeneration
Misc
Patterns
Client Component Hooks
Client Context
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.
Links
Docs
Code
By
View code
or
deploy your own