Skip to content

Paint My list and Journal while CSS loads - #87

Draft
sarthakagrawal927 wants to merge 1 commit into
mainfrom
agent/live-loading-244-20261124
Draft

sarthakagrawal927 wants to merge 1 commit into
mainfrom
agent/live-loading-244-20261124

Conversation

@sarthakagrawal927

@sarthakagrawal927 sarthakagrawal927 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Draft. The candidate advances the visible placeholder but increases median fully styled My list readiness by 711–736 ms in paired cold browser replay at 390/768/1440. Do not merge this version. See the verification note in SaaS Maker #244.

Scope

Paint the existing My list and Journal loading shapes while their full stylesheets download. A bounded streaming transform only handles ordinary HTML documents on the two exact paths. It preserves the document body, private cache policy and cookies, Next.js client navigation, conditional requests, and the existing no-JavaScript stylesheet path. A failed stylesheet exposes a same-page reload control.

Verification

  • The production guest baseline loaded the shaped states 850–1,001 ms after HTML started and 790–947 ms after it finished across 390, 768, and 1440 px. Serving the same stylesheet bytes locally isolated the render bottleneck.
  • A replay using the actual Workerd transform and deployed assets rendered the placeholder 49–97 ms after document arrival with maximum observed total layout shift of 0.00031. All twelve stylesheet-failure/retry and JavaScript-disabled checks passed at the same three widths.
  • Workerd preserved document bodies byte for byte, the private cache headers, and first-chunk timing when the test stream withheld the remaining body for 600 ms.
  • Scope is limited to the two ordinary route documents. The broader signed-in account and route matrix remains tracked in PRD: signed-in screens review + loading states for client-only apps sass-maker/saas-maker#244.

Sign up for free to 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