You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 38606cb
Browse filesBrowse the repository at this point in the historyBrowse files
* chore(router): #684 follow-ups — shared blocked-redirect landing, shared cache key base, CFCacheStore warn-once, docs-api guard over caching/PPR skills
Issue #684 groups A (DRY consolidations) and D (tooling):
- safeSameOriginLanding() in redirect-origin.ts: the one answer to "where
does a blocked redirect go"; redirect-guard.ts and
resolveShellHitRedirectTarget (rsc-rendering.ts) now share it.
- cacheKeyBase() in cache-key-utils.ts: the one host-namespaced
${host}${pathname}[:params][?search] composition; cache-scope.ts
(segment tier) and document-cache.ts (document tier) both ride it.
Output byte-identical to both prior inline shapes.
- CFCacheStore.warnOncePerNamespace(): collapses the three open-coded
once-per-namespace warn dances (no-KV read invalidation, TTL floor,
no-TTL marker growth).
- check:docs-api now also guards the 8 caching/PPR skills (cache-guide,
caching, defer-hydration, document-cache, ppr, prerender,
shell-manifest, use-cache) — the cacheTag() render-callable drift
class (plan 003). Shakedown found and fixed a guard false-negative:
class declarations (e.g. errors.ts Skip) matched no definition-ish
position; createHydrationGate allowlisted as a userland recipe name.
* ci: trigger run
0 commit comments