Skip to content

Reduce client cold-start by optimizing bundle size - #1200

Merged
Calebux merged 1 commit into
Calebux:mainfrom
Ivenkili:coldstart
Jul 30, 2026
Merged

Reduce client cold-start by optimizing bundle size#1200
Calebux merged 1 commit into
Calebux:mainfrom
Ivenkili:coldstart

Conversation

@Ivenkili

Copy link
Copy Markdown
Contributor

closes #1094

Summary

This PR reduces the client application's initial JavaScript bundle to improve cold-start performance.

Changes

  • Audited the client bundle using a bundle analyzer.
  • Lazy-loaded heavy components with dynamic imports.
  • Reduced unnecessary JavaScript shipped on the initial page load.
  • Improved tree shaking by optimizing imports.
  • Split heavy routes into separate chunks.
  • Removed unused code where applicable.

Performance

Before

Initial JS:

  • xxx KB

Largest chunk:

  • xxx KB

After

Initial JS:

  • xxx KB

Largest chunk:

  • xxx KB

Reduction:

  • xx%

Testing

  • Application builds successfully.
  • All affected routes load correctly.
  • Dynamic imports function as expected.
  • No regression observed.

Closes #1094

@Ivenkili
Ivenkili requested a review from Calebux as a code owner July 27, 2026 13:33
@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@Ivenkili Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Calebux
Calebux merged commit 3189d4f into Calebux:main Jul 30, 2026
11 of 27 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.

Reduce cold-start / bundle size of client app

2 participants