For the complete documentation index, see llms.txt. This page is also available as Markdown.

Store speed & PageSpeed optimization

Optimize Avante store speed: limit apps, compress images and videos, reduce redirects, and learn why a perfect 100 PageSpeed score isn't possible on Shopify.

A fast store isn't just about aesthetics — speed directly affects conversions, search rankings, and how customers perceive your brand. Every second of delay increases bounce rate and reduces the chance of a completed purchase.

Avante is built with performance as a core priority. But your store's speed isn't determined by the theme alone — it's the result of every app, image, video, and setting working together. This guide breaks down what matters most, what you can fix today, and when it makes sense to bring in our dev team.


TL;DR — Quick performance checklist

Category
Best practices

Apps

Remove unused apps and extra tracking tags. Use built-in theme features whenever possible.

Content

Keep pages clean and focused. Fewer sections = faster loads.

Videos

Use small, short MP4 files (under 3 MB). Avoid videos at the very top of your page.

Images

Compress before uploading. Always use mobile image fields in banner sections.

Redirects

Avoid unnecessary or chained redirects. Use clean, direct URLs.

Checkout buttons

Disable dynamic checkout buttons if speed is a top priority.

Fonts

Use minimal fonts — system fonts are fastest.

Swatches

Use hex color codes instead of image-based swatches where possible.

Header

Keep header simple — logo, nav links, and announcement bar only.

Animation

Disable Preload links on hover while editing; re-enable before publishing.

Before you test: Speed tools like PageSpeed Insights and GTmetrix must be run on your live published theme — not in preview mode. Shopify's theme preview injects an admin toolbar that adds extra scripts and artificially lowers your score.

Always test on the live URL for accurate results.


Limit third-party apps

Third-party apps are the single biggest performance variable in any Shopify store. Every app you install injects its own JavaScript and CSS — files that load on every page visit, regardless of whether the app is actually being used on that page. A store with 15 apps installed carries 15 sets of extra scripts before a customer sees a single product.

Best practices:


Keep content simple and relevant

Page weight isn't just about file sizes — it's also about the number of elements the browser has to build. Each section, product card, and widget adds to the DOM size: the total count of HTML elements on the page. As this number grows, rendering slows down even on fast connections.

Automatic CSS scoping (April 2025)

Shopify now loads CSS only for sections that are actually present on each page. Previously, every page downloaded stylesheets for every section in the entire theme — even sections that weren't used on that page.

This happens automatically for all Online Store 2.0 themes including Avante. No settings to toggle, no code changes needed.

Why this matters: CSS is render-blocking — the browser can't display anything until all stylesheets are downloaded and parsed. A product page with 5 sections now loads only the CSS for those 5 sections, instead of also loading CSS for all 12 homepage sections. This directly improves First Contentful Paint, especially on mobile.


Optimize videos

Video is one of the most effective storytelling tools in e-commerce — and one of the heaviest. A large video file placed at the top of the page forces the browser to wait before it can paint anything meaningful, pushing your Largest Contentful Paint (LCP) score up significantly.

lightbulb

Optimize images

Images typically account for 50–70% of a page's total weight. Compressing them before upload is the highest-return optimization most merchants never do.


Minimize redirects

Each redirect is an extra round-trip between the browser and the server. On a fast connection it's a minor inconvenience; on mobile or slow networks, redirect chains compound into seconds of visible delay.


Accelerated checkout buttons

Dynamic checkout buttons (Shop Pay, PayPal, Apple Pay, Google Pay) are a convenience feature — but each payment provider loads its own external script, and these scripts can't be cached or deferred by the theme.

If conversion rate optimization is more important to you than a top PageSpeed score, keep them. If you're optimizing for speed above all else:

To disable in Avante:

Go to Theme Editor → Default product → Buy buttons → toggle off Show dynamic checkout buttons.


Other settings

The header loads on every single page of your store. Anything you add there multiplies across your entire site. Keep it to the essentials: announcement bar, logo, and primary navigation. Each additional block — especially animated or media-heavy ones — adds to the baseline load of every page.

Fonts

Font files are loaded before the browser renders text, which means font choices directly affect how fast your store feels to load. Avante supports up to 3 fonts — but the fewer you use, the better.

  • The Minimal presets (Basic, Heavy, Uppercase) load a single font file — the most performance-friendly option.

  • If your heading and body settings use the same font family, Avante automatically avoids loading the file twice.

  • System fonts (Arial, Helvetica, sans-serif) require no download at all and render instantly.

Swatches

Color swatches defined by hex codes load as pure CSS — zero extra network requests. Image-based swatches require one additional HTTP request per color option. For stores with many color variants, switching to hex swatches can reduce page weight noticeably.


What our dev team can optimize

Some performance improvements require code-level changes that go beyond what's configurable in the Theme Editor. Staylime offers a Speed Optimization Audit & Fix service for merchants who want to push scores as high as technically possible on Shopify.

money-bills

To request a performance audit, contact our support team.

Before reaching out, let us know: your target score or metric, whether you're open to removing heavy third-party apps if identified as the main bottleneck, and whether you're comfortable with certain sections being hardcoded if needed (which removes them from the Theme Editor).


Why you can't get 100/100 on PageSpeed

Shopify is a hosted SaaS platform. Certain elements are controlled by Shopify's infrastructure and cannot be changed by theme developers or merchants:

A score of 60–85 on a well-configured Shopify store with a few apps is normal and does not meaningfully affect real-world load times for customers.


The bottom line

Avante is engineered for speed — but the theme is only one part of the equation. The stores that score highest are the ones that treat performance as an ongoing practice, not a one-time fix.

Do those four things consistently, and Avante will give your customers a fast, polished experience on every visit.

Last updated

Was this helpful?