next.js
Introduce `'use cache: private'`
#81816
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
19
Changes
View On
GitHub
Introduce `'use cache: private'`
#81816
unstubbable
merged 19 commits into
canary
from
hl/use-cache-private
ijjk
added
created-by: Next.js team
ijjk
added
type: next
unstubbable
force pushed
from
bae86444
to
a31c87ee
205 days ago
ijjk
added
Rspack
ijjk
added
tests
ijjk
added
Turbopack
unstubbable
changed the title
WIP: Initial implementation of `'use cache: private'`
Introduce `'use cache: private'`
204 days ago
unstubbable
marked this pull request as ready for review
204 days ago
graphite-app
commented on 2025-07-19
lubieowoce
commented on 2025-07-21
lubieowoce
approved these changes on 2025-07-21
Initial implementation of `'use cache: private'`
42a64f4d
Actually create the two different cache stores
1f8d8d3a
Allow `'default'` cache kind at build time
277a9a6e
Don't expect a cache handler for private caches
7af73cd4
Add a test suite
5c1fae01
Add note about cookies not needed in cache key
d1327d62
Add `searchParams` test
d0520e4d
Add test cases for invalid dynamic usage errors
07ec78fb
Improve error stacks
809ebb48
Remove module IDs from snapshots
8878ada5
Throw invalid dynamic usage errors during dynamic requests only in dev
ba56d88f
Fix snapshots
76ba0d64
Fix accessing search params
76cded62
Remove rogue `Promise.then <anonymous>` from snapshots
8c5af0dc
Throw when `private` custom cache handler is configured
bcabfc24
Prepare dynamic staleness impl
19fa7e23
Update snapshots for Rspack
64a83885
Fix error message
81fc99ad
explain why we only error in dev
f38f3790
lubieowoce
force pushed
from
7d396615
to
f38f3790
202 days ago
unstubbable
merged
9dc2d469
into canary
202 days ago
unstubbable
deleted the hl/use-cache-private branch
202 days ago
github-actions
added
locked
github-actions
locked
as resolved
and limited conversation to collaborators
188 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
lubieowoce
graphite-app
Assignees
No one assigned
Labels
type: next
created-by: Next.js team
Turbopack
locked
tests
Rspack
Milestone
No milestone
Login to write a write a comment.
Login via GitHub