Title: Improve transaction setup for NextJS and caches · Issue #16213 · getsentry/sentry-javascript · GitHub
Open Graph Title: Improve transaction setup for NextJS and caches · Issue #16213 · getsentry/sentry-javascript
X Title: Improve transaction setup for NextJS and caches · Issue #16213 · getsentry/sentry-javascript
Description: Problem Statement I got a full-stack Next.js app that leverages a Cloudflare cache heavily. We can currently see that by default Sentry tracks these 2 transactions: GET / - server-side render / Open Graph Description: Problem Statement I got a full-stack Next.js app that leverages a Cloudflare cache heavily. We can currently see that by default Sentry tracks these 2 transactions: GET / - server-side render / X Description: Problem Statement I got a full-stack Next.js app that leverages a Cloudflare cache heavily. We can currently see that by default Sentry tracks these 2 transactions: GET / - server-side render /<...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/16213
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve transaction setup for NextJS and caches","articleBody":"### Problem Statement\n\nI got a full-stack Next.js app that leverages a Cloudflare cache heavily.\n\nWe can currently see that by default Sentry tracks these 2 transactions:\nGET /\u003csomepath> - server-side render\n/\u003csomepath - fired client side\n\nOne server-side render will map to many client-side renders (due to caching), if that changes anything.\n\nFor cases like these server -> client tracing is simply not a good idea. The traces will look horrendous most likely.\nfor now, we don’t have a workaround unfortunately but we’ll add an option to disable server -> client tracing for SSR.\n\n### Solution Brainstorm\n\nfor now, we don’t have a workaround unfortunately but we’ll add an option to disable server -> client tracing for SSR.","author":{"url":"https://github.com/Angelodaniel","@type":"Person","name":"Angelodaniel"},"datePublished":"2025-05-07T09:56:54Z","url":"https://github.com/getsentry/sentry-javascript/issues/16213"}
react-profiling 0 react-import-map react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:1269e1da-d14b-a71c-eb15-061c98420cf9 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id AF7E:2DC49E:2B6DF62:38792BA:6B0412A6 html-safe-nonce e39eeaee3803bd37c2496d7a6fb1101c72fd815ca7c8713c7cb80a4ff4b1645e visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjdFOjJEQzQ5RToyQjZERjYyOjM4NzkyQkE6NkIwNDEyQTYiLCJ2aXNpdG9yX2lkIjoiOTE5MDgyMDE3NjU3MTE0MjgyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac af95b64713190bc5cf243252ad9ebe66df8c40a59ddf05b347e08383e9c32ee0 hovercard-subject-tag issue:3045421252 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/16213/issue_layout twitter:image https://opengraph.githubassets.com/191d62d1eafbb08f2a9a98a36e185f83e4f26320e6ddd9c44379ad0c21ab66ee/getsentry/sentry-javascript/issues/16213 twitter:card summary_large_image og:image https://opengraph.githubassets.com/191d62d1eafbb08f2a9a98a36e185f83e4f26320e6ddd9c44379ad0c21ab66ee/getsentry/sentry-javascript/issues/16213 og:image:alt Problem Statement I got a full-stack Next.js app that leverages a Cloudflare cache heavily. We can currently see that by default Sentry tracks these 2 transactions: GET / - server-side render / og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username Angelodaniel hostname github.com expected-hostname github.com None 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 turbo-cache-control no-preview go-import github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git octolytics-dimension-user_id 1396951 octolytics-dimension-user_login getsentry octolytics-dimension-repository_id 3328572 octolytics-dimension-repository_nwo getsentry/sentry-javascript octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 3328572 octolytics-dimension-repository_network_root_nwo getsentry/sentry-javascript turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 423dbb54c5e7bfecc838eb387c1435eb3d0e760d ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
Response headers:
Server github.com Content-Type text/html; charset=utf-8 Cache-Control max-age=0, private, must-revalidate
URLs of crawlers that visited me.