Performance fix
How to Reduce Too Many HTTP Requests
Cut the number of files a page loads so it renders with fewer round-trips.
- Difficulty
- Medium
- Impact
- High
- Time
- 30 min
Before
<!-- 14 separate <script> tags + 30 individual icon PNGs -->After
<script src="/bundle.min.js" defer></script>
<svg><use href="/icons.svg#cart"></use></svg> <!-- one sprite -->Every file a page loads costs a round trip before anything renders, and pages with a hundred or more requests feel slow on mobile even when each file is small. Check the network waterfall, bundle small scripts and styles, replace icon images with an SVG sprite or icon font, and remove third-party tags nobody uses.
Why it matters
Each request has overhead. Pages that load 100+ separate files, icons, scripts, trackers, spend a lot of time just negotiating connections. Fewer, smarter requests means faster rendering, especially on mobile.
How to fix it
Audit the request waterfall
In DevTools → Network, sort by size and count. Look for redundant scripts, duplicate libraries, and dozens of tiny icons.Bundle and sprite
Bundle JS/CSS, and replace icon images with an SVG sprite or icon font to collapse many requests into one.Cut third parties
Each marketing tag adds requests. Remove unused ones and lazy-load the rest.
The code
<!-- 14 separate <script> tags + 30 individual icon PNGs --><script src="/bundle.min.js" defer></script>
<svg><use href="/icons.svg#cart"></use></svg> <!-- one sprite -->On your platform
WordPress
Combine CSS/JS via your caching plugin and audit plugins: each one can add several requests. Deactivate what you don't use.
Next.js
The bundler already combines modules per route; focus on trimming third-party scripts.
Sources
Check your site with our free tool
Website Speed Test
More fixes
Performance
How to Minify Your CSS
Strip comments and whitespace from stylesheets to cut their size by 30-50%.
Performance
How to Minify Your JavaScript
Compress JS by removing comments, whitespace and shortening names: often a 40-60% reduction.
Performance
How to Lazy-Load Off-Screen Images
Defer images below the fold so they don't compete with the initial render.
Fixed that one.
Now find the rest.
A free audit ranks every issue on your site by the score points it costs, and links each one straight to its guide.
Run a free audit