René's URL Explorer Experiment


Title: Published pages serialize unused component definitions into RSC payload · Issue #447 · ycode/ycode · GitHub

Open Graph Title: Published pages serialize unused component definitions into RSC payload · Issue #447 · ycode/ycode

X Title: Published pages serialize unused component definitions into RSC payload · Issue #447 · ycode/ycode

Description: On published pages, PageRenderer still passes the full components array into LayerRendererPublic. In our project, this caused content-heavy published pages to exceed Googlebot’s 2 MB crawl limit. The visible HTML was much smaller; most o...

Open Graph Description: On published pages, PageRenderer still passes the full components array into LayerRendererPublic. In our project, this caused content-heavy published pages to exceed Googlebot’s 2 MB crawl limit. T...

X Description: On published pages, PageRenderer still passes the full components array into LayerRendererPublic. In our project, this caused content-heavy published pages to exceed Googlebot’s 2 MB crawl limit. T...

Opengraph URL: https://github.com/ycode/ycode/issues/447

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Published pages serialize unused component definitions into RSC payload","articleBody":"On published pages, `PageRenderer` still passes the full `components` array into `LayerRendererPublic`.\n\nIn our project, this caused content-heavy published pages to exceed Googlebot’s 2 MB crawl limit. The visible HTML was much smaller; most of the size came from the Next.js RSC/Flight payload.\n\nUpstream 1.27.8 already strips builder-only layer metadata, but `components={components}` still crosses the client boundary even when the page does not render any `richTextComponent` blocks.\n\nIn our fork, we tested a conditional approach:\n\n- detect whether the rendered page tree contains rich-text embedded components\n- pass `components={[]}` when not needed\n- strip component layer trees when they are needed\n\nThis reduced one page from about 2.6 MB to about 1.43 MB total document size, without changing visible output.\n\nQuestion:\nCould `LayerRendererPublic` avoid receiving the full components library unless rich-text embedded component rendering actually requires it?\n\nMeasurements:\n\nBefore:\n\n- `/en/solutions`: ~2.6 MB total document\n- visible HTML without scripts: ~409 KB\n- RSC/Flight: ~2.2 MB\n\nAfter conditional component stripping:\n\n- `/en/solutions`: ~1.43 MB\n- `/en/services`: ~1.21 MB\n- `/en/blog`: ~1.26 MB\n- `/en/works`: ~1.29 MB\n\nTested after merging upstream 1.27.8.\n\nDebugged with the help of OpenAI GPT-5.5 (model ID: openai/gpt-5.5).","author":{"url":"https://github.com/bauhem","@type":"Person","name":"bauhem"},"datePublished":"2026-07-16T19:08:52Z","url":"https://github.com/ycode/ycode/issues/447"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2beffa26-1c60-76d6-bd3e-7fac4ca5ddef
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE372:2C8E49:1BC2D5:25BD96:6AFE37AB
html-safe-nonce92ca1259a4bbff3615192d55b7fb96b186f55e1b1567552ca50e3e7e4f6f9e6b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzcyOjJDOEU0OToxQkMyRDU6MjVCRDk2OjZBRkUzN0FCIiwidmlzaXRvcl9pZCI6IjM4MDEzMzMxNjg3Mjg4NDgyOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb1876032534e5683009f437ddc0e4a206394935fea2429e5065385f8f44168c4
hovercard-subject-tagissue:4905184598
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ycode/ycode/447/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5b35333aedbbe3ce6340285c083f49ee8d37dcdb62e1ac3e808250825a1c6cc0/ycode/ycode/issues/447
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5b35333aedbbe3ce6340285c083f49ee8d37dcdb62e1ac3e808250825a1c6cc0/ycode/ycode/issues/447
og:image:altOn published pages, PageRenderer still passes the full components array into LayerRendererPublic. In our project, this caused content-heavy published pages to exceed Googlebot’s 2 MB crawl limit. T...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebauhem
hostnamegithub.com
expected-hostnamegithub.com
None260deedcf4630abb0a6b4aaa02fd2af70eab44d2529712694ceae59ca131b02e
turbo-cache-controlno-preview
go-importgithub.com/ycode/ycode git https://github.com/ycode/ycode.git
octolytics-dimension-user_id65892203
octolytics-dimension-user_loginycode
octolytics-dimension-repository_id1165452593
octolytics-dimension-repository_nwoycode/ycode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1165452593
octolytics-dimension-repository_network_root_nwoycode/ycode
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8b413ea7a9b010f4f2ebbb923b041b0d6091dd94
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/ycode/ycode/issues/447#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fycode%2Fycode%2Fissues%2F447
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fycode%2Fycode%2Fissues%2F447
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ycode%2Fycode
Reloadhttps://github.com/ycode/ycode/issues/447
Reloadhttps://github.com/ycode/ycode/issues/447
Reloadhttps://github.com/ycode/ycode/issues/447
ycodehttps://github.com/ycode
ycodehttps://github.com/ycode/ycode
Codehttps://github.com/ycode/ycode
Issues7 (7)https://github.com/ycode/ycode/issues
Pull requests1 (1)https://github.com/ycode/ycode/pulls
Discussionshttps://github.com/ycode/ycode/discussions
Actionshttps://github.com/ycode/ycode/actions
Projectshttps://github.com/ycode/ycode/projects
Security and quality1 (1)https://github.com/ycode/ycode/security
Insightshttps://github.com/ycode/ycode/insights
https://github.com/ycode/ycode
New issuehttps://github.com/login?return_to=https://github.com/ycode/ycode/issues/447
New issuehttps://github.com/login?return_to=https://github.com/ycode/ycode/issues/447
Published pages serialize unused component definitions into RSC payloadhttps://github.com/ycode/ycode/issues/447#top
https://github.com/tristan-mouchet
ImprovementImprove existing featurehttps://github.com/ycode/ycode/issues?q=state%3Aopen%20label%3A%22Improvement%22
https://github.com/bauhem
bauhemhttps://github.com/bauhem
on Jul 16, 2026https://github.com/ycode/ycode/issues/447#issue-4905184598
tristan-mouchethttps://github.com/tristan-mouchet
ImprovementImprove existing featurehttps://github.com/ycode/ycode/issues?q=state%3Aopen%20label%3A%22Improvement%22
on Jul 17, 2026https://github.com/ycode/ycode/issues/447#event-28111495129
tristan-mouchethttps://github.com/tristan-mouchet
on Jul 17, 2026https://github.com/ycode/ycode/issues/447#event-28111752410
tristan-mouchethttps://github.com/tristan-mouchet
completedhttps://github.com/ycode/ycode/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 20, 2026https://github.com/ycode/ycode/issues/447#event-28211553905
Sign up for freehttps://github.com/signup?return_to=https://github.com/ycode/ycode/issues/447
Sign in to commenthttps://github.com/login?return_to=https://github.com/ycode/ycode/issues/447
tristan-mouchethttps://github.com/tristan-mouchet
ImprovementImprove existing featurehttps://github.com/ycode/ycode/issues?q=state%3Aopen%20label%3A%22Improvement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.