On this page
What this issue is
Every file a page loads is a request. Icons such as arrows, ticks, social logos and payment badges are often saved as separate small PNG, JPG or SVG files. A page with 40 icons can then make 40 extra requests for a few kilobytes each.
An SVG sprite is one SVG file that holds many icons as <symbol> elements. You show each icon with a <use> tag. Inline SVG puts the icon code straight into the HTML, so it needs no request at all.
Why it costs you leads or sales
Many small requests add overhead, especially on slow mobile networks. They compete with the files that matter most, such as your hero image, fonts and form scripts. Icons can also pop in late and make the layout shift.
On modern hosting with HTTP/2 or HTTP/3, many small requests cost less than they used to. That is why the impact is usually low. It grows when the page also has heavy scripts or visitors are on weak connections.
- Page HTML loadsBrowser finds 40+ icon file references
- Icon requests queueEach tiny file needs its own request
- Key content waitsHero and form compete for bandwidth
- Slower first interactionVisitor may leave before the form shows
Many small icon requests queue up beside the files the visitor needs to see and use the page.
Example: a landing page with 45 separate icon files drops to 5 requests for icons after moving to one sprite and inline SVG. Your numbers will differ.
How to check if your site has it
Open DevTools
Open your landing page, press F12 (or Cmd+Option+I on Mac) and go to the Network tab.
Reload with cache off
Tick Disable cache and reload the page.
Filter by Img
Click the Img filter. Sort by Size, smallest first. Look for many files under 5 KB such as icons, arrows and logos.
Note the count
The status bar shows the number of requests. Write down how many are small image files.
Cross-check with a lab tool
Run Lighthouse in DevTools or a waterfall tool such as WebPageTest and look at the request list.
How to fix it
Pick the approach that suits each icon. Use inline SVG for a few important icons above the fold. Use a sprite for a larger set reused across the page. Keep photos and complex images as normal image files.
<!-- Put once near the top of <body> -->
<svg xmlns="http://www.w3.org/2000/svg" style="display:none">
<symbol id="icon-check" viewBox="0 0 24 24">
<path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/>
</symbol>
<symbol id="icon-phone" viewBox="0 0 24 24">
<path d="M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11 11 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.250.2 2.450.6 3.600a1 1 0 0 1-.25 1z"/>
</symbol>
</svg>
<!-- Use it wherever you need the icon -->
<svg width="24" height="24" aria-hidden="true"><use href="#icon-check"></use></svg>Find where icons come from
Check your theme or page builder settings. Many builders have an icon library that outputs inline SVG rather than image files.
Replace image icons
In the editor, swap uploaded PNG icons for the builder's SVG icon element, or add the sprite markup in a custom HTML block or your child theme's header.php.
Clear caches
Purge your caching plugin and CDN, then re-test in DevTools.
Open the theme code
Go to Online Store > Themes > Edit code. Look in the Snippets and Assets folders for many separate icon files.
Inline SVG in snippets
Create a snippet such as icon-check.liquid containing the SVG markup, then render it with {% render 'icon-check' %} in your sections.
Remove unused files
Once nothing references the old image icons, delete them from Assets.
Use SVG, not images
Upload icons as SVG files. Webflow outputs small SVGs inline when you add them with the Embed element, so paste the SVG code into an Embed.
Reuse via a Component
Turn the icon embed into a Component so you can reuse it without more requests.
Use built-in vector art
Replace uploaded icon images with Wix vector art or SVG shapes from the Add panel where possible.
Limit icon count
Wix controls much of the page output. Cut the number of separate icon elements on key landing pages.
Use SVG in Code blocks
Add a Code block with inline SVG markup for the icons you need. Squarespace's built-in icon options already output SVG for social links.
Reduce image-based icons
Replace icon images in Image blocks with Code blocks or theme-provided icons.
Build a sprite
Combine your SVG icons into one file of <symbol> elements using a build tool such as SVGO plus an SVG sprite plugin, or write it by hand.
Inline or reference
Inline the sprite in the HTML for fastest display, or reference an external file with <use href="/icons.svg#icon-check">.
Optimise and cache
Run SVGO to shrink the paths, and serve the sprite with long cache headers.
Separate files
- One request per icon
- Icons appear one after another
- Many files to maintain
Sprite or inline SVG
- Zero or one request for all icons
- Icons render with the page
- One file to edit
How to confirm it's fixed
- Reload with cache disabled and compare the request count to your earlier note
- The Img filter no longer shows dozens of tiny icon files
- All icons still display on desktop and mobile
- Icons keep their colour and size on hover and in dark sections
- Lighthouse shows no new layout shift warnings
- Forms and buttons still work after the change
How to prevent it happening again
Agree one icon method for the site, such as a single sprite or the theme's SVG icons. Ask designers and editors to use it rather than uploading new PNG icons. Add a request-count check to your release routine, and re-run Lighthouse after theme or plugin updates.
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. FunnelGuard runs your real customer journeys, such as forms, checkouts and tracking hits, on a schedule. It does not audit how many image requests a page makes. For this, use a page speed or performance tool such as Lighthouse, PageSpeed Insights or WebPageTest, which list every request and file size.
If a clean-up like this ever breaks a button or form, a journey check can show whether the funnel still works afterwards. The Free plan covers 1 site and 2 journeys with daily checks and no card.
Questions people ask
Why does my page make so many small image requests?
Each icon, badge or logo saved as its own file needs its own request. Themes and page builders often output icons as separate PNG or SVG files, so a page can reach dozens of tiny requests. Inline SVG or a sprite removes most of them.
What is an SVG sprite?
An SVG sprite is one SVG file or code block holding many icons as <symbol> elements. You show an icon with <use href="#icon-name">. The browser loads the set once instead of fetching each icon separately.
Is inline SVG better than an SVG sprite?
Inline SVG needs no request and suits a few key icons above the fold. A sprite is tidier when the same icons repeat across the page or site. Many sites use both.
Do too many requests still matter with HTTP/2?
They matter less, because HTTP/2 and HTTP/3 send many requests over one connection. Each request still adds some overhead, and slow mobile networks feel it most. Treat it as a low-impact clean-up, not an emergency.
How do I count image requests on my page?
Open Chrome DevTools, go to the Network tab, tick Disable cache and reload. Click the Img filter and sort by size to spot many tiny files. The bottom bar shows the total request count.
Should I use an icon font instead?
Icon fonts reduce requests but often load a whole library for a few icons, and they can cause display and accessibility problems. Inline SVG or a sprite is usually the lighter and cleaner choice.
Can FunnelGuard tell me how many image requests my page makes?
No. This is outside what FunnelGuard checks. Use a page speed tool such as Lighthouse, PageSpeed Insights or WebPageTest to see request counts and file sizes.
Related issues
- PRF-078More than 150 requests on one pageFix guide
- PRF-080Several full icon font libraries loaded (Font Awesome x2)Fix guide
- PRF-076Total page weight over 3 MB on a landing pageFix guide
- PRF-082Unminified JS/CSSFix guide
- PRF-089Mobile visitors downloading desktop-size assetsFix guide
- PRF-077Page weight jumped after a change (new unoptimised asset)Fix guide