Shopify

How to Fix Shopify Core Web Vitals Without Extra Apps

Improve Shopify LCP, INP, and CLS scores without paying for speed apps. Trim Liquid bloat, fix hero image preloading, and remove leftover app scripts.

Blogitems
By Blogitems Team
··5 min read
On this page (11)
How to Fix Shopify Core Web Vitals Without Extra Apps
💡

Key Takeaways (TL;DR)

Shopify speed optimization apps cannot fix slow Liquid code or heavy app scripts. You can pass Core Web Vitals for free by auditing leftover theme.liquid scripts, preloading your hero image, limiting homepage sections, and switching to an Online Store 2.0 theme.

Every time you search for Shopify speed fixes, the App Store pitches “$19/month instant speed booster” apps. In reality, installing another app to fix slow apps only adds more JavaScript to your store.

Shopify already hosts your store on a global CDN with automatic WebP image conversion. When your Core Web Vitals (LCP, INP, and CLS) fail, the culprit is almost always bloated theme code or leftover scripts from uninstalled apps.

Here is how to fix your Shopify speed scores directly inside your admin—without spending a dime on third-party speed apps.

Why “Speed Booster” Apps Rarely Work

Most Shopify speed apps only add a tiny script that pre-fetches links on hover. They cannot rewrite slow Liquid loops, remove unused CSS from your theme, or stop third-party review widgets from blocking the main thread.

Before spending money on apps, check our breakdown of Shopify vs WooCommerce monthly costs and maintenance to see how app subscriptions quietly eat into store margins.

What You Need Before Starting

  • Duplicate Your Live Theme: Go to Online Store > Themes, click the three dots (...) next to your live theme, and select Duplicate. Always test code edits on the duplicate first.
  • Baseline Test: Run your homepage and top product page through Google PageSpeed Insights and note your mobile LCP and CLS numbers.

Step 1: Remove Leftover Scripts from Uninstalled Apps

When you uninstall a Shopify app, Shopify revokes its API access—but it does not delete the code snippets the app injected into your theme.liquid file. Those dead <script> tags still trigger failed network requests and slow down every page load.

  1. Open Online Store > Themes > … > Edit code.
  2. Open layout/theme.liquid.
  3. Look near the closing </head> and </body> tags for {% render 'app-name' %} or <script src="..."> lines belonging to apps you deleted months ago.
  4. Comment them out or delete them, then preview your duplicate theme to confirm nothing breaks.

Step 2: Fix Your Hero Image for Faster LCP

Largest Contentful Paint (LCP) measures how fast your main above-the-fold banner or product photo appears. Many themes accidentally add loading="lazy" to the very first hero image, forcing the browser to wait before downloading it.

According to web.dev’s LCP optimization guide, hero images should load eagerly with high fetch priority:

  1. Find your hero banner section in Sections (often image-banner.liquid or slideshow.liquid).
  2. Ensure the first image does not have loading="lazy" (change it to loading="eager" or remove the attribute for the first slide).
  3. Add fetchpriority="high" to that hero <img> tag so the browser downloads it before lower-priority scripts.

Step 3: Prevent Layout Shift (CLS) on Product Grids

Cumulative Layout Shift (CLS) happens when images, announcement bars, or review badges pop in late and push text down the screen.

  • Explicit Image Dimensions: Make sure your theme’s image_tag Liquid filter outputs both width and height attributes so the browser reserves space before the photo arrives.
  • Fixed Announcement Bar Height: Give your top announcement bar a fixed CSS min-height so dynamic currency or free-shipping text doesn’t jump on load.
  • Limit System Fonts or Swap: Using a clean system font stack—or ensuring font-display: swap is set in your CSS—prevents invisible text flashes while custom fonts download.

Step 4: Trim Homepage Sections and App Embeds

Every app embed toggled On in Theme Settings > App embeds loads JavaScript across your entire storefront, even on pages that do not use the feature.

  1. Open Online Store > Themes > Customize.
  2. Click the App embeds icon on the left sidebar.
  3. Turn Off any chat widgets, loyalty launchers, or countdown timers that do not directly drive sales.
  4. Keep your homepage to 5 to 7 focused sections instead of loading 40+ product cards on initial scroll.

Common Mistakes to Avoid

  • Installing “Lazy Load” Apps on OS 2.0 Themes: Modern Shopify Online Store 2.0 themes (like Dawn) already include native browser lazy loading. Adding an extra JS lazy-loader delays image rendering.
  • Uploading 4000px PNG Files: Even though Shopify’s CDN compresses images, uploading massive PNGs slows down your theme editor and wastes bandwidth on uncropped assets. Resize product photos to 2048 × 2048 px JPEGs or WebPs before uploading.

Frequently Asked Questions

How fast should a Shopify store load on mobile?

Aim for a Largest Contentful Paint (LCP) under 2.5 seconds and CLS under 0.1 in Google Search Console’s Core Web Vitals report. Real-world user data matters more than hitting 100/100 in a synthetic lab test.

Does switching to an Online Store 2.0 theme improve SEO?

Yes. Faster Core Web Vitals directly support search rankings and user engagement. Learn more about how speed and structure impact modern search in our SEO, AEO, and GEO guide.

Next Step

Open your theme.liquid file on a duplicated theme today and strip out leftover scripts from uninstalled apps. Most merchants recover 300ms to 800ms of mobile speed in under 20 minutes without paying for a single app.

Tags:#Shopify#Core Web Vitals#Web Performance#eCommerce
Blogitems

Blogitems Team

Engineering high-speed decoupled architectures, edge caching, and headless WordPress platforms delivering sub-second global speeds. Focused on making modern cloud-native web infrastructure fast and intuitive.

Blogitems Journal

Build Faster, Scale Smarter

Skip the trial-and-error, cancel the useless $29/month subscriptions, and run a blazing-fast site using tools that actually pay for themselves.