next.js
Introduce `'use cache: private'`
#81816
Merged

Introduce `'use cache: private'` #81816

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

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone