next.js
feat: implement LRU cache with invocation ID scoping for minimal mode response cache
#88509
Merged

feat: implement LRU cache with invocation ID scoping for minimal mode response cache #88509

wyattjoh merged 20 commits into canary from wyattjoh/response-cache-lru
wyattjoh
nextjs-bot nextjs-bot added created-by: Next.js team
nextjs-bot nextjs-bot added type: next
wyattjoh wyattjoh force pushed from 6bbc429d to d9faef86 91 days ago
wyattjoh
nextjs-bot
vercel
vercel commented on 2026-01-14
nextjs-bot
wyattjoh wyattjoh force pushed from d9faef86 to 79e5ce43 91 days ago
nextjs-bot nextjs-bot added tests
wyattjoh wyattjoh marked this pull request as draft 90 days ago
ijjk
ijjk commented on 2026-01-15
ijjk
ijjk commented on 2026-01-15
wyattjoh wyattjoh force pushed from 375374ec to 4f3d65cb 89 days ago
wyattjoh wyattjoh force pushed from 4f3d65cb to 0a9f4050 89 days ago
wyattjoh wyattjoh force pushed from 0a9f4050 to 1bca0001 88 days ago
nextjs-bot nextjs-bot added Turbopack
wyattjoh wyattjoh force pushed from ed2b3fc5 to 92c785d7 86 days ago
codspeed-hq
wyattjoh wyattjoh force pushed from 92c785d7 to b357e626 86 days ago
wyattjoh wyattjoh force pushed from b357e626 to e09d56b1 85 days ago
ztanner
ztanner commented on 2026-01-20
wyattjoh wyattjoh requested a review from ztanner ztanner 85 days ago
ztanner
ztanner commented on 2026-01-20
wyattjoh wyattjoh force pushed from a3acfbc0 to cecc2daf 85 days ago
wyattjoh wyattjoh marked this pull request as ready for review 85 days ago
wyattjoh wyattjoh requested a review from ztanner ztanner 85 days ago
ztanner
ztanner approved these changes on 2026-01-20
wyattjoh wyattjoh changed the title Add LRU cache for minimal mode response cache feat: two-level LRU cache for minimal mode response cache 84 days ago
wyattjoh wyattjoh requested a review from ztanner ztanner 84 days ago
ztanner
ztanner commented on 2026-01-21
ztanner
ztanner commented on 2026-01-21
wyattjoh wyattjoh requested a review from ztanner ztanner 83 days ago
ijjk
ijjk commented on 2026-01-22
ijjk
ijjk commented on 2026-01-22
wyattjoh wyattjoh changed the title feat: two-level LRU cache for minimal mode response cache feat: implement LRU cache with invocation ID scoping for minimal mode response cache 83 days ago
wyattjoh Add LRU cache for minimal mode response cache
05b9649c
wyattjoh feat: add invocation ID scoping for minimal mode response cache
09a1fc3e
wyattjoh refactor: remove TTL expiry from minimal mode response cache
3d423f92
wyattjoh feat: add eviction warning for minimal mode response cache
3f8a6a0c
wyattjoh feat: add TTL fallback for minimal mode response cache
09d696e8
wyattjoh refactor: rename x-vercel-id to x-invocation-id for response cache
2075817f
wyattjoh chore: increase default maxResponseCacheSize to 30
ffceda6c
wyattjoh feat: add proactive TTL eviction and configurable responseCacheTTL
77a2359c
wyattjoh fix: restore on-demand revalidation resolve logic
9cb4077e
wyattjoh refactor: remove timer-based proactive eviction from response cache
566076fe
wyattjoh refactor: remove unused peek() method from LRU cache
345cbe4b
wyattjoh docs: improve code comments for clarity
5c20f3b7
wyattjoh fix: make nextConfig required in getResponseCache
4d8393b3
wyattjoh docs: remove incorrect minimal mode clarification
7a34f798
wyattjoh feat: implement two-level LRU cache for minimal mode response cache
39189b69
wyattjoh refactor: extract default cache sizes to module constants
49febac1
wyattjoh refactor: migrate response cache config to environment variables
d594106c
wyattjoh refactor: simplify response cache to single LRU with compound keys
20bdd824
wyattjoh refactor: replace infra namespace with explicit withInvocationId() he…
b07a6d3f
wyattjoh wyattjoh force pushed from 49df06bc to b07a6d3f 83 days ago
ztanner
ztanner approved these changes on 2026-01-22
wyattjoh refactor: harden response cache env parsing and sentinel value
83a394ce
wyattjoh wyattjoh merged 092458fd into canary 83 days ago
wyattjoh wyattjoh deleted the wyattjoh/response-cache-lru branch 83 days ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 68 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone