mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[GH-ISSUE #1041] Support revalidate = false for App route segment config #231
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#231
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?
Originally created by @NathanDrake2406 on GitHub (May 3, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/1041
Summary
Vinext currently ignores non-numeric App route segment
revalidateexports while resolving effective segment config. Next.js acceptsexport const revalidate = falseto mean cache indefinitely (effectivelyInfinity).This is a pre-existing parity gap, but PR #993 makes it more visible because layout/page segment config is now reduced across the full route tree.
Expected behavior
revalidate = falseshould produce an explicit indefinite-cache policy rather thannull/unset.falsebecause any finite interval is shorter thanInfinity.Current behavior
resolveRevalidateSeconds()ignoresfalse, sorevalidate = falsealone is indistinguishable from no segment config.Notes
This likely needs a cache-layer representation for indefinite caching that is distinct from "unset" before the resolver can model this cleanly.