Skip to content

Defer Social from initial Me load - #789

Draft
BenCBanks wants to merge 1 commit into
mainfrom
dash-518-social-load
Draft

BenCBanks wants to merge 1 commit into
mainfrom
dash-518-social-load

Conversation

@BenCBanks

@BenCBanks BenCBanks commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

#518 slow-phone follow-up: defer Social from initial Me load

The Me screen no longer waits for the 151,959-byte Social script. The current whole-file static budget is 44,810 bytes gzip-9; that is not a measured net saving. After Me's content is useful, the app warms Social during idle time. Social is also loaded before the feed, activity details, friend/profile, group and notification routes that need it.

The small profile-link and friend-count helpers stay eager, and the weekly recap share item loads Social if tapped before warmup. Cook and recipe-import keep their existing first-tap loader and do not pull in Social. A failed Social route load keeps the existing visible “Try again” control.

The exact-main baseline on 111d1e3f was 4,143 ms to useful Me and 4,268 ms to card actions, with 88/89 requests and no errors across three fictional cold runs. Sage approved the checkpoint. The focused browser test and three comparable after runs are pending an available isolated test slot; no full suite has run.

390 px captures (fictional account)

Me card light
Me card dark
Home light
Home dark
Failed Home load with retry

This branch has not been deployed

No deployments
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