Web Performance1 min read
Bundle Budgets That Survive the Next Six Product Roadmaps
By Priyatham Rama Sai
Hard caps in webpack or bundler hooks fail when marketing adds one more A/B tag. We pair route-level budgets with owner-approved exception process and visual diff on large dependency upgrades.
Baseline
Track gzip and brotli sizes separately; mobile users care about transfer weight. Establish budgets from current P75, not aspirational fantasy.
Governance
Weekly review of regressions over budget — small intentional increases ship with tech debt tickets.
Dependencies
Major upgrades get spike branches with perf comparison — semver bumps hid huge transitive trees for us more than once.