Skip to content

[pull] canary from vercel:canary#2795

Merged
pull[bot] merged 3 commits into
adamlaska:canaryfrom
vercel:canary
Jul 7, 2026
Merged

[pull] canary from vercel:canary#2795
pull[bot] merged 3 commits into
adamlaska:canaryfrom
vercel:canary

Conversation

@pull

@pull pull Bot commented Jul 7, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

next-js-bot Bot and others added 3 commits July 6, 2026 23:37
- Questions kept coming up about where `use cache` results actually
live, and how static shells, App Shells, and ISR relate
- the answers were spread across several pages, but not tied together on
the getting-started guide
- The runtime prefetching example also implied cookie data needs
`allow-runtime`, when the App Shell already carries session data
   - `allow-runtime` is really about URL data.

**Changes** (`docs/app/getting-started/caching`)

- Reworked the Usage intro to lead with the cache lifetime concept and
hand off to Prerendering
- Added a **Where cached content is stored** section: server cache,
remote handler, and browser, framed around a cached result being a
serialized payload that travels to each.
  - > if I had time to make it shorter, I would... 
  - We will most likely have a visual aid there and trim it down
- Added a static shell ↔ App Shell explanation in Prerendering, and a
short Incremental Static Regeneration pointer to the ISR guide
- Corrected the runtime prefetching section to the URL-data model
(`searchParams`/`params`)
- replaced the cookie example with a `/search` one that actually needs
`allow-runtime`.
- `catchError` (stabilized).
- Cross-linked `stale`/`revalidate`/`expire` to `cacheLife`
- reviewed and fixed the code-block highlights.
Claude Code keeps trying to pass the `--draft` option to GitHub when I
use this stack. However, that option was removed. I've updated this
skill to match
https://github.com/github/gh-stack/blob/main/skills/gh-stack/SKILL.md
using `npx skills`
@pull pull Bot locked and limited conversation to collaborators Jul 7, 2026
@pull pull Bot added the ⤵️ pull label Jul 7, 2026
@pull pull Bot merged commit b6ebce5 into adamlaska:canary Jul 7, 2026
0 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants