Shopify Speed Optimization: 12 Fixes for Core Web Vitals
Shopify speed optimization guide with 12 practical fixes for Core Web Vitals: images, apps, scripts, fonts, layout shift and theme code that slows stores.
A fast store converts better and ranks better. Shopify has improved platform speed, including faster cart and checkout loading in its Winter ’25 Edition, but your theme, apps and images decide the rest. Here are 12 fixes, in the order we usually tackle them.
What to aim for
Google’s Core Web Vitals measure real-world experience:
- Largest Contentful Paint (LCP): 2.5 seconds or less
- Interaction to Next Paint (INP): 200 milliseconds or less
- Cumulative Layout Shift (CLS): 0.1 or less
Test with PageSpeed Insights and the Core Web Vitals report in Search Console, and test on mobile.
The 12 fixes
1. Audit your apps. Every app can add scripts. Remove ones you do not use, and check that uninstalled apps left no code behind.
2. Prefer apps built with theme app extensions. They load only where enabled and clean up when removed, unlike older script-tag methods.
3. Compress images. Use modern formats such as WebP and upload at the size you need.
4. Serve responsive images. Let the theme load smaller images on small screens.
5. Lazy-load below-the-fold images, but not your main hero image. Loading the hero eagerly helps LCP.
6. Prioritise the LCP element. Make sure the largest image or text block on top of the page loads first.
7. Reserve space for images and embeds. Set width and height so layouts do not jump, which cuts CLS.
8. Limit fonts. Use one or two font families and only the weights you need. Preload critical fonts.
9. Defer non-critical JavaScript. Load chat widgets, review carousels and tracking scripts after the page becomes usable.
10. Trim homepage sections. Ten heavy sections slow the first view. Keep the first screen light.
11. Clean up Liquid. Avoid nested loops over large collections and unnecessary queries in templates.
12. Review third-party tags. Pixels, heatmaps and tag managers add up. Remove the ones you do not use.
How to measure progress
- Record a baseline for home, collection and product pages.
- Make one change at a time where practical.
- Retest after each change.
- Compare lab tests with real-user data in Search Console, which updates slowly.
What not to do
- Do not chase a perfect score at the cost of features customers value.
- Do not test only on desktop.
- Do not install a “speed app” without checking what it loads.
Checkout is faster too
In its Summer ’25 Edition, Shopify said customers can enter their details at checkout almost 2 seconds faster. A lean theme and fewer scripts help you keep those gains.
FAQ
Why is my PageSpeed score lower on mobile? Mobile tests simulate slower networks and devices, so they are stricter.
Can I fix speed without a developer? Images, apps and sections are often fixable yourself. Script and theme code issues usually need a developer.
Related reading: Shopify Blog SEO: How to Plan Posts That Rank and Drive Sales, Shopify Category Metafields and Smart Collections for Better Filters and SEO and Shopify Search & Discovery.
Get a speed audit
Liquid Gold runs Core Web Vitals audits and fixes for Shopify stores. Request a speed audit →