Skip to content

Commit

Permalink
chore(docs): fix miss spell (#67228)
Browse files Browse the repository at this point in the history
### Improving Documentation

- Just add `'`


![image](https://github.com/vercel/next.js/assets/66263916/ce7c5e11-38e9-4937-9034-3278b36e1e2b)

Co-authored-by: Jiwon Choi <devjiwonchoi@gmail.com>
  • Loading branch information
GyoHeon and devjiwonchoi authored Jun 28, 2024
1 parent a7faeb0 commit 6474cf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const fetchCache = 'auto'

- Any options set across each layout and page of a single route need to be compatible with each other.
- If both the `'only-cache'` and `'force-cache'` are provided, then `'force-cache'` wins. If both `'only-no-store'` and `'force-no-store'` are provided, then `'force-no-store'` wins. The force option changes the behavior across the route so a single segment with `'force-*'` would prevent any errors caused by `'only-*'`.
- The intention of the `'only-*'` and `force-*'` options is to guarantee the whole route is either fully static or fully dynamic. This means:
- The intention of the `'only-*'` and `'force-*'` options is to guarantee the whole route is either fully static or fully dynamic. This means:
- A combination of `'only-cache'` and `'only-no-store'` in a single route is not allowed.
- A combination of `'force-cache'` and `'force-no-store'` in a single route is not allowed.
- A parent cannot provide `'default-no-store'` if a child provides `'auto'` or `'*-cache'` since that could make the same fetch have different behavior.
Expand Down

0 comments on commit 6474cf0

Please sign in to comment.