Skip to content

Site-wide performance optimization and checkout correctness#233

Open
GautamBytes wants to merge 3 commits intoshopstr-eng:mainfrom
GautamBytes:perf/site-wide-optimizations
Open

Site-wide performance optimization and checkout correctness#233
GautamBytes wants to merge 3 commits intoshopstr-eng:mainfrom
GautamBytes:perf/site-wide-optimizations

Conversation

@GautamBytes
Copy link
Contributor

This PR delivers a single-pass, performance-only optimization across app shell, data loading, route chunking, parsing, and caching, plus final checkout correctness fixes.

Key outcomes:

  • Reduced shared first-load JS from 394 kB baseline to 206 kB
  • Reduced _app chunk from 835 kB raw baseline to 77.5 kB
  • Route targets improved: /orders 197 kB, /listing 286 kB, /cart 266 kB
  • Route-scoped bootstrap and lazy-loading of signer/nostr-heavy paths
  • Startup/data fetch cleanup (less duplicate work, better staged loading)
  • Route-level code splitting for heavy cart/listing/orders flows
  • Parser/slug hot-path optimizations with bounded cache to avoid unbounded memory growth
  • Polling reductions via event-driven storage updates
  • PWA/service-worker tuning and middleware import hardening
  • API/DB fetch scoping to reduce overfetching

@vercel
Copy link

vercel bot commented Mar 2, 2026

Someone is attempting to deploy a commit to the shopstr-eng Team on Vercel.

A member of the Team first needs to authorize it.

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