A slow store quietly costs you sales. Shoppers on mobile connections are unforgiving, and Google uses Core Web Vitals as a ranking signal. The good news: most Shopify speed problems come from a handful of predictable causes, and almost all of them are fixable without a full rebuild.
Start by measuring the right things
Before changing anything, take a baseline. Run your home page, a collection page and a product page through PageSpeed Insights and note the three Core Web Vitals:
| Metric | What it measures | Good target |
|---|---|---|
| LCP (Largest Contentful Paint) | How fast the main content appears | Under 2.5s |
| INP (Interaction to Next Paint) | How quickly the page responds to taps and clicks | Under 200ms |
| CLS (Cumulative Layout Shift) | How much the layout jumps while loading | Under 0.1 |
Lab scores fluctuate, so test each template three times and use the median. If your store has enough traffic, the "field data" section shows what real customers experience — that is the number that matters most.
1. Audit your apps
Every app you install can inject JavaScript and CSS into every page, even pages where it does nothing. Uninstalled apps sometimes leave their code behind in your theme.
- List every installed app and what it is for.
- Remove anything you no longer use.
- Search your theme files for leftover snippets from removed apps.
- For apps you keep, check whether their scripts can load only on the templates that need them.
If an app does not directly help someone buy, it should not slow down the page they are buying on.
2. Fix your hero image
On most stores, the LCP element is the hero banner or the main product image. Make sure it is served at the right size and is not lazy-loaded, because lazy-loading the first image delays the most important paint.
{%- comment -%} Responsive, eagerly loaded hero image {%- endcomment -%}
{{ section.settings.image
| image_url: width: 1600
| image_tag:
loading: 'eager',
fetchpriority: 'high',
widths: '480, 800, 1200, 1600',
sizes: '100vw',
alt: section.settings.image.alt }}
Images further down the page should use loading="lazy" so they don't compete for bandwidth.
3. Control third-party scripts
Chat widgets, review carousels, heatmaps and tracking pixels add up fast. Load non-critical scripts after the page becomes interactive:
// Load a non-critical widget after the browser is idle
window.addEventListener('load', () => {
const load = () => {
const s = document.createElement('script');
s.src = 'https://example.com/widget.js';
s.async = true;
document.body.appendChild(s);
};
'requestIdleCallback' in window ? requestIdleCallback(load) : setTimeout(load, 2000);
});
4. Prevent layout shift
CLS is usually caused by images without dimensions, late-loading fonts and banners injected above content. Always set width and height (or an aspect ratio) on media, reserve space for announcement bars, and use font-display: swap with a well-matched fallback font.
5. Consider a custom theme
If you have tried everything and your theme is still heavy, the problem may be architectural. Stock themes ship features for every possible store. A custom Shopify 2.0 theme includes only what your store needs, which is why custom builds can reach a 90+ PageSpeed score.
A quick checklist
- Remove unused apps and leftover app code
- Serve responsive images and eager-load the LCP image
- Defer chat, review and tracking scripts
- Set dimensions on every image and video
- Preload your main font and limit font weights
- Re-test the same templates and compare with your baseline
Speed work compounds: every improvement makes the next one easier to measure. If you'd like a second pair of eyes, our team offers performance audits for Shopify stores of every size.



