How To Guide for Shopify Speed Optimization

Learn the steps of Shopify speed optimization to improve your store. Learn how to test a Shopify store’s page load time and reduce it.
Picture of Marketing

Marketing

Last updated on June 10, 2026

A slow Shopify store gives shoppers reasons to leave before they even view your products. 

Key Takeaways

  • Shopify speed optimization starts with testing mobile and desktop pages so you know what is actually slowing down the store.
  • Large images and videos often add more load time than store owners realize. Sliders, animations, and pop-ups can add extra weight, too.
  • Cleaning up unused apps and third-party scripts can improve your Shopify site speed without changing the whole design.
  • Product and collection pages need their own speed check because shoppers often land there first from search engines, ads, and social posts.
Here's a how to guide for Shopify speed optimization.

A Shopify store can look polished and still feel slow to shoppers. When pages take too long to load, people may leave before they see your products or reach the checkout button. Shopify speed optimization helps you improve load times without stripping away the features shoppers need. Shopify handles many hosting tasks for you, but your theme, apps, and images still affect speed. 

3 Steps To Beginning Shopify Speed Optimization

You’ll build a faster Shopify store by starting with real performance data. These first three steps help you find the biggest slowdowns before you spend time resizing images, removing apps, or changing your theme. 

1. Start With a Site Speed Test

Begin your Shopify store speed improvements by finding your speed baseline. In Shopify admin, go to Online Store > Themes and review the performance summary for your published theme. 

You can also go to Analytics > Reports and search for web performance reports. Then test your homepage and one product page in Google PageSpeed Insights. Test one collection page too, since many shoppers land directly on products or categories.

2. Check Mobile and Desktop Scores Separately

Mobile and desktop scores can look very different. Review both tabs in PageSpeed Insights, but pay close attention to mobile. Open the store on your own phone, too. Check the parts shoppers use most:

  • Main menu
  • Collection filters
  • Product images
  • Size chart
  • Variant buttons
  • Cart
  • Checkout path

A hands-on test can reveal blocked buttons or layout shifts. It can also show pop-ups that are hard to close on a small screen.

3. Look at Core Web Vitals, Not Just the Overall Score

After you run a PageSpeed test, don’t stop at the overall score. Core Web Vitals help you understand what kind of speed problem your Shopify store has. They can show whether the page is slow to load, slow to respond, or unstable while it appears. 

Focus on these three metrics:

  • Largest Contentful Paint (LCP): Shows how quickly the largest visible element loads. For Shopify stores, a poor LCP score often points to oversized hero images, large product photos, video content, or other media near the top of the page.
  • Interaction to Next Paint (INP): Shows how quickly the page responds after a shopper taps or clicks. A poor INP score can point to heavy app scripts, review widgets, pop-ups, or other third-party tools that slow down the page after someone interacts with it.
  • Cumulative Layout Shift (CLS): Shows how much the page moves while loading. A poor CLS score often means images, banners, fonts, or app blocks are loading without enough space reserved, which causes the layout to shift as shoppers use the page.

These metrics give you a better starting point for improving your Shopify site speed because they show you exactly where you should investigate first.

How To Optimize Shopify Store Speed Without Breaking Your Design

Here's how to optimize Shopify store speed.

When learning how to optimize your Shopify store’s speed, the goal is to keep what helps shoppers and remove what slows them down. But before changing anything major, duplicate your theme. Go to Online Store > Themes, click the three dots next to your current theme, and choose Duplicate. Make edits in the copy first so you can preview changes before publishing. 

Compress and Resize Large Images

Images are one of the easiest places to reduce page weight. Product photos and homepage banners can be much larger than the storefront needs. Lookbook images and lifestyle photos can cause the same issue.

For product images, go to Products, open a product, and review the Media section. Replace images that are far larger than your theme displays. Before uploading new files, resize them to the largest size needed. Then compress them while keeping fabric, color, and product details clear.

For homepage and collection banners, go to Online Store > Themes > Customize. Open the section using the image and replace heavy files with smaller versions. If your theme supports separate desktop and mobile images, upload a smaller mobile version. 

Lazy Load Images, Videos, and Below-the-Fold Sections

Lazy loading means content loads when it’s needed instead of all at once. This can improve Shopify site speed because the browser can focus on the first screen first.

Go to Online Store > Themes > Customize and review your homepage. Then check your product template and collection template. Move heavier sections lower on the page, such as: 

  • Reviews
  • Recommendations
  • Instagram feeds
  • Videos
  • Extra image blocks

Don’t lazy-load the main hero image or first product image if it’s the largest visible element. Doing so can hurt LCP because the browser waits too long to load the most important visual.

Replace Heavy Sliders, GIFs, Pop-Ups, and Animations

Sliders and GIFs can load several files behind the scenes. Pop-ups and animations can add extra code, too. Your homepage slider may load multiple banners even though most shoppers only see the first one. A GIF can also be much heavier than a short compressed video.

In the theme editor, replace hero sliders with one strong image and a clear call to action. Use compressed MP4 videos instead of large GIFs when motion helps explain the product. Remove animations that don’t guide shoppers or clarify the page. If you need a pop-up for email signups, set it to show after a delay or after the shopper scrolls.

Improve Shopify Site Speed by Cleaning Up Apps and Scripts

Shopify apps can add useful features, but each app may also add code to the storefront. A single heavy app can slow a key page if it loads scripts and styles everywhere. Some apps also load fonts or external requests that shoppers never see.

Go to Apps in your Shopify admin and list every installed app. This is also a good time to compare whether a native Shopify feature or a lighter app can do the same job. 

Remove Unused Apps and Leftover App Code

To remove an unused app, go to Shopify admin > Apps, select the app, and choose Uninstall. First, confirm it doesn’t power a live feature on your product pages or checkout flow. 

After uninstalling, go to Online Store > Themes > Customize and open App embeds. Turn off embeds that are no longer needed. Check product templates and collection templates for old app blocks. Cart templates may contain old app blocks, too.

Some older apps may have added code directly to the theme. Duplicate your theme, then go to Online Store > Themes > Edit code. Look for snippets or script tags with the old app name. Comments in the code may also show where an app was added. Ask the app support team or a developer before deleting code you don’t understand.

Limit Third-Party Scripts That Load on Every Page

Third-party scripts include analytics tags and ad pixels. Heatmaps and chat tools are common examples. Some are important, but they shouldn’t all load before the page becomes usable.

Go to Settings > Customer events to review customer event pixels. If you use Google Tag Manager, remove old platforms and test tags. Check for duplicate analytics or tracking that no one uses anymore.

Reviews may only need product pages. A size guide may only need pages where shoppers choose sizes. If a tool is useful but not urgent, ask whether it can load after the main content.

Reduce Page Load Time on Shopify With a Leaner Theme

Shopify speed optimization includes updating older themes.

Shopify can be a good platform for ecommerce businesses because it handles hosting, checkout, security, and many store essentials. However, those built-in features are only the foundation. Your theme still affects how much code, media, and design structure shoppers have to load.

A clean, current theme gives your store a better starting point for speed. A bloated or outdated theme can add unnecessary weight before you even start looking at images, apps, or scripts.

Update an Older Theme or Switch to a Lightweight Theme

Go to Online Store > Themes and check whether your current theme has an available update. If it does, review the update notes. Then duplicate your current theme and test the updated version before publishing. 

Older themes may not support newer performance improvements or app blocks. They may also lack stronger section controls or updated image handling. If your Shopify theme is several years old or heavily customized, switching to a cleaner one may be easier than patching the same issues again and again.

Shopify themes with every feature built in may sound convenient, but features you don’t use can add extra weight. Choose a theme that supports your store’s brand’s layout needs without loading tools you won’t actually use.

Remove Unused Theme Sections, CSS, and JavaScript

Theme sections let you build pages without custom code, but too many sections can slow down rendering. Go to Online Store > Themes > Customize and open each major template. Remove sections that repeat the same message or sit too far down the page to get engagement. Also remove heavy media sections that don’t help the buying decision. 

Unused CSS and JavaScript require more care. You can safely remove visible sections in the theme editor, but code edits should happen in a duplicated theme.

A developer can review theme.liquid and section files for you. They can also review snippets, assets, and app-related files to reduce what loads.

Optimize Product and Collection Pages for Faster Mobile Loading

Product and collection pages may include image galleries, filters, reviews, recommendations, size tools, upsells, and other features that help shoppers decide what to buy. On mobile, those elements need to load in the right order so the page feels fast and easy to use.

Start by making the first screen as light and useful as possible. Then review the extra sections lower on the page to see which ones help shoppers choose, trust, or buy.

Speed Up Product Images, Reviews, and Recommendations

Your product pages may include many helpful features, but the load order matters. Common product page elements include:

  • Image galleries
  • Variant images
  • Review widgets
  • Recommendations
  • Payment messages
  • Size tools
  • Cross-sell sections

Start with the part of the product page shoppers see first. On mobile, that first screen should help someone understand the product and take the next step without waiting for extra features to load. Make sure the main product image, product title, price, variants, size help, and add-to-cart button appear quickly and are easy to use.

Then decide what can be loaded later. Extra gallery images, reviews, recommendations, and videos can still support the buying decision, but they don’t need to slow down the first product view. 

Move these elements below the main product section when possible, and check whether the app or theme can lazy load them. Remove duplicate photos, outdated lifestyle images, and videos that don’t answer a shopper’s question.

Clean Up Dynamic Sections That Slow Down Page Rendering

Dynamic sections can personalize or expand your shopping experience, but they can also slow down page rendering. These sections may include:

  • Recently viewed products
  • Related products
  • Stock counters
  • Countdown timers
  • Bundles
  • Upsells
  • Social feeds

Open your product and collection templates in the theme editor. Ask a simple question for each dynamic section: Does this help shoppers choose, trust, or buy? If not, remove it or move it lower on the page.

For collection pages, reduce how many products load at once. Use pagination or a reasonable product grid size instead of loading a huge collection all at once. Keep filters useful, but don’t add more than shoppers need.

Shopify Speed Optimization Mistakes To Avoid

Shopify speed optimization works best when it’s careful and measured. Some changes can improve a site’s speed score but hurt the store experience. Other changes can break tracking or remove useful features, while some edits can also create layout problems.

Chasing a Perfect PageSpeed Score

Getting a perfect score isn’t the goal. A Shopify store still needs product images and checkout paths. It also needs analytics, sizing help, and trust-building content. Removing every app and visual can make the store less useful. Instead, focus on the metrics that affect shoppers. 

Shopify already manages hosting and CDN. It also handles caching, compression, and many asset optimizations. Spend more time on the parts you control, such as images and theme choices. 

Making Changes Without Testing the Store Experience

Speed changes should never be made blindly. Compressing images too much can make products look low-quality, and removing scripts can break analytics. Deleting app code can damage product pages. Moving sections can hide information shoppers need.

After each major change, test the store like a customer:

  • Open a product page on mobile and desktop.
  • Choose a variant.
  • Open the size guide.
  • Add the item to the cart.
  • Start checkout.

Then retest PageSpeed Insights and Shopify web performance reports. PageSpeed can show lab changes right away, while Shopify’s real-user data may take longer to reflect updates.

Keep Shopify Pages Fast and Helpful With Kiwi Sizing

Shopify speed optimization helps shoppers make confident choices quickly.

Shopify speed optimization is also about helping shoppers make confident choices quickly. For clothing brands, sizing is part of that experience. If shoppers have to search for fit details or message support before buying, the page isn’t doing enough work.

Kiwi Sizing helps merchants add clear, useful size charts and fit guidance to product pages without cluttering the shopping path. Customers can find sizing help where they need it, while the product page stays focused and easy to use. Help shoppers check out faster with a Kiwi, a Shopify size chart app built for clear, on-page sizing.

In this article

Personalized Size Recommendations
on your Shopify Stores

Dramatically reduce returns and increase sales with Kiwi

Size Charts
0 M+
Active Stores
0 K+
Average Creation Time
0 mins
kiwi-logo-shadow

Personalized Size Recommendations on your Shopify Stores