Skip to content

perf: trim excess preconnect hints after mobile PSI re-check#78

Merged
Metrohan merged 2 commits into
mainfrom
perf/mobile-fcp-followups
Jul 17, 2026
Merged

perf: trim excess preconnect hints after mobile PSI re-check#78
Metrohan merged 2 commits into
mainfrom
perf/mobile-fcp-followups

Conversation

@Metrohan

Copy link
Copy Markdown
Owner

Summary

Small follow-up after PR #74 (already merged) landed and a fresh mobile PageSpeed Insights run was taken against production:

  • Drops the cdn.jsdelivr.net/cdnjs.cloudflare.com preconnect hints — PSI flagged ">4 preconnect hints" as excessive; those two origins are already loaded via preload+swap (non-blocking) so pre-warming the connection buys little now. Keeps the two Google Fonts preconnects, which still matter.
  • Cross-links the two .scratch/perf-third-party-images/issues/*.md follow-up docs to their new GitHub issues (Optimize/proxy oversized third-party event thumbnail images #76, Mobile FCP/LCP stuck ~5s: SPA has no SSR, blank until JS boots #77) filed for the remaining, out-of-scope-for-a-patch performance work (oversized third-party event images, and the SPA/no-SSR mobile FCP bottleneck).

Post-#74, mobile PSI: Performance 52, FCP 4.9s, LCP 5.0s, CLS 0.364 (up from 39/11.8s/0.645 pre-fix). Desktop: 80 (up from 66). The remaining mobile gap is JS-boot-bound (see #77), not something addressed here.

Test plan

  • npm run build succeeds
  • Verified index.html only has the two Google Fonts preconnects left

🤖 Generated with Claude Code

Metrohan and others added 2 commits July 17, 2026 13:45
PSI flagged >4 preconnect hints after the earlier preload+swap change
made the jsdelivr/cdnjs preconnects redundant (those origins are already
deferred, so pre-warming the connection buys little). Down to the two
Google Fonts origins that still matter.

Also files issue 02: post-fix mobile PSI (Performance 52) shows FCP/LCP
now bottlenecked on JS boot time (SPA has no SSR), not render-blocking
CSS anymore -- that's an architectural change, not a markup patch.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Metrohan
Metrohan merged commit 4c3288f into main Jul 17, 2026
3 checks passed
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