Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
72ef9d94
Unverified
Commit
72ef9d94
authored
Mar 28, 2024
by
JJ Kasper
Committed by
GitHub
Mar 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about data cache not applying middleware (#63842)
parent
cbf901ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
index.mdx
.../02-app/01-building-your-application/04-caching/index.mdx
+2
-0
No files found.
docs/02-app/01-building-your-application/04-caching/index.mdx
View file @
72ef9d94
...
...
@@ -224,6 +224,8 @@ Alternatively, you can also use the [Route Segment Config options](#segment-conf
export const dynamic = 'force-dynamic'
```
>
**
Note
**:
Data
Cache
is
currently
only
available
in
pages
/
routes
,
not
middleware
.
Any
fetches
done
inside
of
your
middleware
will
be
uncached
by
default
.
>
**
Vercel
Data
Cache
**
>
>
If
your
Next
.
js
application
is
deployed
to
Vercel
,
we
recommend
reading
the
[
Vercel
Data
Cache
](
https
://
vercel
.
com
/
docs
/
infrastructure
/
data
-
cache
)
documentation
for
a
better
understanding
of
Vercel
specific
features
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment