Repository navigation
fix(core): Keep unsampled renders free of per-render cache origin meta tags - #27017
Merged
chargome merged 1 commit intoDec 1, 2026
Conversation
Contributor
size-limit report 📦Compared: 125da7d (PR test merge using base PR #27010 at edd7f4c) Against: edd7f4c (base PR #27010) · base run #68434 ✅ Baseline matches: this diff contains only this PR's changes.
|
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 1 not successful, 64 successful. See the run.
Successful checks
|
…a tags SvelteKit and Nuxt write the cache origin tags through a shared helper, which had the same problem as Next.js: an unsampled render wrote its trace and start time into the cached HTML, so every regeneration differed from the previous one. The helper now writes only an empty `sentry-cache-origin` tag for an unsampled render. Refs #27002 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
chargome
force-pushed
the
fix/core-unsampled-cache-origin-meta-tags
branch
from
December 1, 2026 13:28
7c15d73 to
e08ec2a
Compare
chargome
marked this pull request as ready for review
December 1, 2026 13:31
s1gr1d
approved these changes
Dec 1, 2026
52 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
SvelteKit and Nuxt pages rendered by an unsampled request now get an empty
sentry-cache-origintag and nosentry-render-starttag. Sampled renders and pages prerendered in the build are unchanged.Why
Follow-up to #27009, which fixed this for Next.js only. SvelteKit and Nuxt write the tags through a shared helper in core with the same problem: an unsampled render changed the cached HTML on every regeneration, which Vercel bills as an ISR write. The tag stays, with empty content, so pageloads keep
page.server_rendering.type. They losepage.server_rendering.agefor unsampled renders.Stacked on #27010.
Refs: #27002