Performance

On this page

The theme uses plain CSS and native JavaScript modules, with no libraries and no build step. Each section loads its own styles and scripts only when the section is on the page. Most of the speed of a live store depends on your images, the apps you install and the number of sections on a page.

What the theme does

  • Images are requested in several sizes and the browser picks the one that fits. The theme never asks for a size larger than the original, and the largest size is 2560 pixels wide.
  • Images load lazily, with one exception per page: the image most likely to be the first thing a visitor sees is loaded at once and with high priority. That is the first slide of the hero when the hero is the first section of the page, the first product card of a collection page, the first image of the product gallery, and the logo.
  • Scripts are JavaScript modules, which the browser defers until the page is parsed. Only the scripts for sections that are on the page are loaded.
  • The base styles and the styles of the first three sections block the first paint. Styles for the header menus, the cart drawer and the image zoom view load without blocking.
  • On phones, the styles of every section after the third one load without blocking, because those sections are below the first screen.
  • The theme preloads the heading font and the body font, and shows text in a fallback font until they arrive.
  • Animations use only transform and opacity, and the animation script runs only when Enable animations is on and the visitor allows motion.

Images

Upload the largest size you need, in the right ratio, and let Shopify and the theme make the smaller sizes.

WhereUpload at
Hero slide imageAbout 2400 px wide. Add a Mobile image of about 900 px wide for a portrait crop.
Kit showcase, Image with text, Video cover, Category cardsAbout 1600 px wide
Product media2048 px on the long side, all in the same ratio
Collection bannerAbout 1600 px wide
LogoAt least twice the Logo width setting in the Header section, as a PNG
FaviconA square image of at least 32 by 32 px

Other tips:

  • Keep files below about 500 KB each. Shopify converts images to modern formats, but a very large original takes longer to process.
  • Use the same ratio for all product images and set Image ratio in Theme settings > Product cards and Media ratio in the Product section to match, so that images are not cropped unexpectedly.
  • Put a light image first in the hero. It is loaded before everything else and decides how fast the page looks ready.
  • For video, prefer a YouTube or Vimeo link with a cover image. The player is loaded only when the visitor presses play. A hosted video set to Play muted and loop is a large file that competes with the other content of the page: keep it short and light.

Hero slideshow

  • A hero with many large slides loads more data. Use two or three slides, not ten.
  • Change slides automatically moves to the next slide every few seconds (Seconds per slide, 4 to 10, default 7). On slow connections and in speed tests, a slideshow that keeps changing delays the moment the page is considered finished. Turn it off or use fewer slides if speed matters more than movement.
  • The slideshow never starts for visitors who prefer reduced motion.

Number of sections and blocks

  • Every section adds markup and often a script. Keep the home page to the sections you need. The Floodlit and Daylight presets already place several sections on the home page. Remove the ones you do not use.
  • The fixture strip, the print studio and the shop by player section all read lists you typed. Long lists make the page heavier. Remove fixtures after the season and keep the squad to the players you sell.
  • Product cards loaded in a section, such as Featured collection and Player products, cost more the more you show. Number of products to show is limited to 12 in Featured collection and 8 in Player products.

Fonts

  • Pick fonts from the Shopify font library in Theme settings > Typography. Each font family and weight is one more file. The theme loads the heading font and the body font only.
  • Use fewer weights. The Floodlit preset fonts, Big Shoulders for headings and Archivo for the body, use one weight each.

Apps

  • Every app that adds scripts to the storefront (reviews, chat, pop-ups, tracking, currency converters) slows the page. Install only what you use, and remove an app's leftover code when you uninstall it.
  • App blocks and app embeds loaded at the top of the page cost the most. Add an app block lower on the page, not in the first screen.
  • Test the store with an app turned on and off to see its cost. In the theme editor, Theme settings > App embeds lists the active embeds.
  • Some requests on every page come from Shopify itself, for example the checkout preloads, and are not part of the theme.

Measuring

Measure the published store, not the theme editor or a preview, and use real images. Run the tests on a phone-sized screen. Speed tests on a store with sample content, or on a store with a password page, are not representative.