Unverified Commit eebff819 authored by Joseph's avatar Joseph Committed by GitHub

docs: add a note that cache components is opt-in near the top (#85245)

We do mention how to enable this feature, but a little note can go a
long way, specially highlighting that it is opt-in
parent 7e41c122
...@@ -50,6 +50,8 @@ When a user visits a route: ...@@ -50,6 +50,8 @@ When a user visits a route:
## How it works ## How it works
> **Good to know:** Cache Components is an opt-in feature. Enable it by setting the `cacheComponents` flag to `true` in your Next config file. See [Enabling Cache Components](#enabling-cache-components) for more details.
Cache Components gives you three key tools to control rendering: Cache Components gives you three key tools to control rendering:
### 1. Suspense for runtime data ### 1. Suspense for runtime data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment