Free Speed Tool

Shopify LCP Preload Generator

Generate the exact Liquid or HTML snippet to preload your primary banner image. Dramatically lower your Largest Contentful Paint (LCP) time.

Banner Image Settings

Page Target
Device Target

Generated Tag

Copy and paste this into the top of your `theme.liquid` header section (inside the `<head>` block).

Enter image URL to generate code snippet...

Why Preload your LCP Image?

Google evaluates your store using the Largest Contentful Paint (LCP) metric, which measures when the largest visual block (usually the hero banner) becomes visible to the customer.

Normally, the browser discovers the hero image only after downloading and parsing your entire theme stylesheet. Preloading tells the browser to start fetching the image immediately alongside your HTML document, shaving off up to 1-2 seconds of mobile page load delay.

Automate Your LCP Preloading

Let Superspeed do the preloading

Our Shopify app automatically scans your pages, identifies LCP targets dynamically, and handles preloading configuration on the fly without any manual editing.