3D on product pages without slowing them down: a Core Web Vitals guide
Why 3D can hurt LCP, INP and CLS, and six rules that keep product pages fast: a poster first, 3D on demand, reserved space, lighter models and real measurements.
A 3D viewer or configurator helps shoppers understand a product. It can also make the product page slower, and a slow product page loses visitors before they see anything. Speed also feeds into how Google evaluates pages, through the Core Web Vitals.
The good news: 3D and good Core Web Vitals go together well, if the 3D part follows a few rules. This guide explains the metrics, what 3D does to them, and how to keep product pages fast.
The three Core Web Vitals in short
Google measures three things on real visits to your pages. These are the thresholds Google publishes for a "good" result, measured at the 75th percentile of page loads:
| Metric | What it measures | Good |
|---|---|---|
| Largest Contentful Paint (LCP) | When the main content, usually the product image, is visible | 2.5 seconds or less |
| Interaction to Next Paint (INP) | How fast the page reacts to taps, clicks and key presses | 200 milliseconds or less |
| Cumulative Layout Shift (CLS) | How much content jumps around while the page loads | 0.1 or less |
INP replaced the older First Input Delay metric in March 2024. The details are documented on web.dev, Google's site for web developers.
How 3D can hurt each metric
A 3D viewer brings three heavy things to a page: a JavaScript library to draw 3D, the model files, and the work of starting the graphics on the device. Loaded the wrong way, they cause problems:
- LCP gets worse when the page waits for the 3D viewer before showing the product, or when the viewer is the largest element and takes seconds to draw.
- INP gets worse when starting the 3D engine and decoding models block the main thread. A tap on "Add to cart" during that time feels stuck.
- CLS gets worse when the viewer appears in a box with no reserved size and pushes the price and buttons down.
All three are avoidable.
Rule 1: show a poster image first
The first thing on the product page should be a normal image: a still picture of the product. It loads fast and becomes the LCP element.
- Give it explicit
widthandheightattributes, so the browser reserves its space. - Mark it as important with
fetchpriority="high", and never lazy-load it. - Serve a modern format such as WebP or AVIF, with a
srcsetso phones get a smaller file.
<img src="sofa-800.webp" srcset="sofa-800.webp 800w, sofa-1600.webp 1600w"
sizes="(min-width: 960px) 50vw, 100vw" width="1600" height="1000"
fetchpriority="high" alt="Three-seat sofa in green fabric">
<button type="button">Try it in 3D</button>
The 3D studio is then one tap away, not something every visitor has to download.
Rule 2: load the 3D only when it is needed
Most visitors to a product page never open the 3D view. They should not pay for it. Load the 3D code and models when:
- the shopper taps "Try it in 3D", or
- the browser is idle after the page has fully loaded, if you want to prepare it in advance.
A small loader script can sit on the page and fetch the real 3D code later. Spatial Configurator works this way: the launcher on the product page is a loader of under 20 KB, and the studio with its models loads when the shopper opens it.
Rule 3: reserve the space
Whatever appears later must not push other content around:
- Give the 3D container a fixed aspect ratio with CSS (
aspect-ratio: 4 / 3, for example). - Replace the poster in the same box, at the same size.
- Open full-screen views as overlays that do not change the page layout.
- Reserve room for banners and cookie notices, or show them as overlays.
Rule 4: make the models lighter
Model files are often the largest download of a 3D view. Ways to cut them down:
- Compress the geometry. The glTF format supports compression extensions such as Draco and meshopt.
- Compress the textures. KTX 2.0 textures stay compressed on the graphics card, and WebP textures are much smaller than PNG.
- Size textures for screens. A 4096-pixel texture on a chair leg is wasted on a phone. 1024 or 2048 pixels is usually enough.
- Remove what nobody sees. Hidden screws and the underside of a cabinet do not need detail.
If your models come from photos, see photo to 3D model: making product models from your photos for how they are made and checked.
Rule 5: keep the main thread free
INP is about responsiveness. Even after the page has loaded, heavy work can block it:
- Start the 3D engine after the shopper's tap, and show a loading state at once so the tap feels answered.
- Split large tasks into smaller pieces and let the browser breathe between them.
- Load analytics and chat widgets after the page, not before it.
- Avoid running 3D work on pages that do not show 3D at all, such as category pages, the cart and the blog.
Rule 6: measure with real visits, not only lab tests
There are two kinds of data, and you need both:
- Lab data comes from a test on one device, for example Lighthouse in Chrome's developer tools. It is good for finding problems and checking a fix.
- Field data comes from real visitors. Google Search Console's Core Web Vitals report and PageSpeed Insights show it for your pages once they have enough traffic.
Check the product pages with 3D in both, on mobile first. Field data takes a few weeks to reflect a change, so note the date of every speed fix.
A checklist for 3D product pages
- The product image is the LCP element, with
width,heightandfetchpriority="high". - No 3D code loads before the shopper asks for it or the page is idle.
- The 3D container has a reserved size; nothing jumps when it opens.
- Models are compressed and textures sized for screens.
- Taps get a visible answer at once while 3D loads.
- Lighthouse runs on mobile without layout shifts from the 3D view.
- Search Console shows the product pages as "Good" for all three metrics.
Fast pages and 3D together
Spatial Configurator follows these rules on every platform: the 3D configurator loads on demand, leaves your product image as the first thing shoppers see and opens the studio full screen over the page instead of pushing content around. It runs on Shopify, WooCommerce, Magento and any website; the pricing page shows the plans. For the setup itself, read how to add a 3D product configurator to your store.