René's URL Explorer Experiment


Title: perf: speed up CMS pages with large collections by ysamcode · Pull Request #673 · ycode/ycode · GitHub

Open Graph Title: perf: speed up CMS pages with large collections by ysamcode · Pull Request #673 · ycode/ycode

X Title: perf: speed up CMS pages with large collections by ysamcode · Pull Request #673 · ycode/ycode

Description: Summary Collection lists loaded the full field values of every item in a collection on every render, and dynamic pages loaded all values of all items just to order next/previous links. On sites with large collections this made each render scale with the whole collection's content — a single blog post page on a 2,000-item collection pulled several MB from the database. Values are now loaded only for the items that actually render; output is unchanged. Same change as ycode/cloud#101, already released on Cloud. Changes Load only the fields needed to filter and sort (sort field, static filter conditions, inverse-reference source) for all items in a bound collection Hydrate the remaining bound values on demand for rendered items, the items they reference, and select/checkbox/radio option sources Fetch only the slug and sort field when ordering next/previous items on dynamic pages Preserve computed count-field values during hydration Test plan Render pages with collection lists (sorted, filtered, paginated, random) and confirm the same items, order and values as before Check reference and multi-reference fields still resolve inside rendered items Check inverse-reference lists and lists filtered by the current dynamic page item Check select / checkbox / radio inputs sourced from a collection list every item Open a dynamic page and confirm next/previous links point to the correct neighbours Confirm count fields render the correct totals Cloud verification: 15 pages of a 1,800-item site rendered identically with old and new code, ~81% less collection_item_values data fetched Made with Cursor

Open Graph Description: Summary Collection lists loaded the full field values of every item in a collection on every render, and dynamic pages loaded all values of all items just to order next/previous links. On sites wit...

X Description: Summary Collection lists loaded the full field values of every item in a collection on every render, and dynamic pages loaded all values of all items just to order next/previous links. On sites wit...

Opengraph URL: https://github.com/ycode/ycode/pull/673

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e4a16ab7-5083-840e-3bcc-ba645ca9c770
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id93B0:251A5:10B853:15F155:6AFE33D1
html-safe-nonceb70f3740d8f8d613041279c5fb663ccccfa4eaae11a9cc8f23c584726faebddd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0IwOjI1MUE1OjEwQjg1MzoxNUYxNTU6NkFGRTMzRDEiLCJ2aXNpdG9yX2lkIjoiMjA0MzkzMjQ1MjE0NDk1MjI3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac77727df95250db063886e1b2e59a673eec42a9c7510fe89bc335398175d94294
hovercard-subject-tagpull_request:5169844556
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/ycode/ycode/pull/673/files
twitter:imagehttps://avatars.githubusercontent.com/u/7631193?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7631193?s=400&v=4
og:image:altSummary Collection lists loaded the full field values of every item in a collection on every render, and dynamic pages loaded all values of all items just to order next/previous links. On sites wit...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None260deedcf4630abb0a6b4aaa02fd2af70eab44d2529712694ceae59ca131b02e
turbo-cache-controlno-preview
diff-viewunified
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-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8b413ea7a9b010f4f2ebbb923b041b0d6091dd94
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ycode/ycode/pull/673/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fycode%2Fycode%2Fpull%2F673%2Ffiles
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%2Fpull%2F673%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=ycode%2Fycode
Reloadhttps://github.com/ycode/ycode/pull/673/files
Reloadhttps://github.com/ycode/ycode/pull/673/files
Reloadhttps://github.com/ycode/ycode/pull/673/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fycode%2Fycode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fycode%2Fycode%2Fissues%2Fnew%2Fchoose
ysamcodehttps://github.com/ysamcode
develophttps://github.com/ycode/ycode/tree/develop
perf/lazy-collection-valueshttps://github.com/ycode/ycode/tree/perf/lazy-collection-values
Conversation 0 https://github.com/ycode/ycode/pull/673
Commits 1 https://github.com/ycode/ycode/pull/673/commits
Checks 0 https://github.com/ycode/ycode/pull/673/checks
Files changed https://github.com/ycode/ycode/pull/673/files
Please reload this pagehttps://github.com/ycode/ycode/pull/673/files
perf: speed up CMS pages with large collections https://github.com/ycode/ycode/pull/673/files#top
Show all changes 1 commit https://github.com/ycode/ycode/pull/673/files
153ab3d perf: load CMS values only for rendered collection items ysamcode Nov 5, 2026 https://github.com/ycode/ycode/pull/673/commits/153ab3ddf5f336b53558226eff5b0d385c116ab8
Clear filters https://github.com/ycode/ycode/pull/673/files
Please reload this pagehttps://github.com/ycode/ycode/pull/673/files
Please reload this pagehttps://github.com/ycode/ycode/pull/673/files
https://github.com/ycode/ycode/blob/develop/.github/CODEOWNERS#L1
lib/page-fetcher.tshttps://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
View file https://github.com/ycode/ycode/blob/153ab3ddf5f336b53558226eff5b0d385c116ab8/lib/page-fetcher.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/ycode/ycode/pull/673/{{ revealButtonHref }}
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
https://github.com/ycode/ycode/pull/673/files#diff-28e0b23fdbe1ae4953b860f3213a935ad8d5a4c9102c3ac6180a859ae29b3f99
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.