React performance budgets: keeping marketing sites fast as they grow
Marketing sites gain weight quietly — one script, one animation library, one embed at a time. A performance budget turns speed into a rule rather than a hope.
- Published
- Updated
- Reading time
- 1 min read
React is a good fit for marketing sites that need rich interaction and a component system your team can reuse. It also makes it very easy to ship more JavaScript than a page needs.
What we budget
- JavaScript per route — compressed size of the scripts required to render the page.
- Largest Contentful Paint — measured in the field at the 75th percentile.
- Third-party scripts — each one has an owner and a reason to exist.
Techniques that keep us inside the budget
Split by route. Each page loads only the code it needs. Admin tools and rarely used pages live in separate chunks.
Defer below-the-fold work. Charts, carousels and heavy visualisations load when they approach the viewport.
Prefer CSS for simple motion. Transitions and transforms are cheaper than JavaScript-driven animation, and respect reduced-motion preferences easily.
Measure every pull request. A bundle-size check in CI makes regressions visible at the moment they are introduced.
Budgets are a conversation
When a new feature would break the budget, the budget does not automatically win. It forces a decision: is this worth the cost, and what could we remove to pay for it?
Demo content seeded for development. Edit, replace or archive it from the admin.
Keep reading
More from the blogSEO2 min read
Five technical SEO checks to run before every site launch
Launch day is when small technical mistakes become expensive. These are the five checks we never skip before a new site goes live.
Paid Search2 min read
How we structure Google Ads accounts for B2B lead generation
Account structure decides what you can learn and how fast automated bidding can improve. Here is the structure we start from and why.
Growth Strategy2 min read
Landing page anatomy: what we test first
Not every test is worth running. These are the landing page elements that most often move conversion rate, in the order we test them.
Want this applied to your growth?
Start a conversation