I worked on a B2B application where I faced a common misconception: businesses are more tolerant of poor Google Core Web Vitals and bloated bundle sizes because "users access from office PCs with fast internet." Unfortunately, reality was different. Primary users accessed the application from mobile phones with mobile internet connections. When I discovered this, optimization became critical.

Starting Point: The production bundle size was 1,542 KB (gzipped). Target: 500 KB (following industry best practices)

Step 1: Compression - Already Optimized

The obvious first step was enabling Brotli compression, which typically saves 15-25% compared to gzip. However, the infrastructure already had Brotli enabled. No gains here.

Step 2: Route-Based Code Spl…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help