Skip to content

fix(build): on-demand render for dimension chain pages - #380

Merged
Flotapponnier merged 1 commit into
devfrom
feat/per-chain-bench-pages
Jun 10, 2026
Merged

fix(build): on-demand render for dimension chain pages#380
Flotapponnier merged 1 commit into
devfrom
feat/per-chain-bench-pages

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

Staging deploy of #379 failed: prerendering the 10 rpc-capabilities chain pages fanned out to ~40 (chain x region) variant loads (~100 Prom queries each) at build time, saturating the Prom gateway until unrelated pages (wallet-labels-coverage) timed out with no KV snapshot and the export aborted.

Fix: generateStaticParams only emits row-shaped pages (they reuse the parent's aggregate fetch, zero extra Prom load). Dimension pages render on demand via ISR (revalidate 60, maxDuration 60) and get warmed by the sitemap crawl.

Test plan

  • Staging deploy goes green
  • /benchmarks/rpc-capabilities/ethereum renders on demand on staging

@Flotapponnier
Flotapponnier merged commit e29b215 into devJun 10, 2026
1 check failed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Flotapponnier