mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #381] [MERGED] fix: avoid shared cache headers for dynamic GET handlers #526
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#526
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/381
Author: @NathanDrake2406
Created: 3/9/2026
Status: ✅ Merged
Merged: 3/9/2026
Merged by: @james-elicx
Base:
main← Head:fix/route-handler-dynamic-cache📝 Commits (1)
1229eaafix: avoid shared cache headers for dynamic GET handlers📊 Changes
4 files changed (+97 additions, -14 deletions)
View changed files
📝
packages/vinext/src/entries/app-rsc-entry.ts(+9 -2)📝
tests/__snapshots__/entry-templates.test.ts.snap(+54 -12)➕
tests/fixtures/app-basic/app/api/dynamic-request-data/route.ts(+13 -0)📝
tests/nextjs-compat/app-routes.test.ts(+21 -0)📄 Description
Summary
revalidatecache headers in App Router GET route handlersGET + revalidate + headers()/cookies()Testing
pnpm test tests/nextjs-compat/app-routes.test.tspnpm test tests/entry-templates.test.ts -upnpm test tests/app-router.test.ts -t "route handler"🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.