# Magento page speed optimization

> Improve Adobe Commerce storefront speed with real-user data, correct full-page caching, and targeted catalog or front-end fixes.

Canonical: https://scaplet.com/seo/magento/page-speed

Guide Adobe Commerce Adobe Commerce · Performance

Improve Adobe Commerce storefront speed with real-user data, correct full-page caching, and targeted catalog or front-end fixes.

5 min

read

8

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

Start with real-user Core Web Vitals, then test representative product, category, and CMS pages to find the slow metric. Adobe Commerce on-premises can use Varnish for full-page caching; Commerce on Cloud uses Fastly. Confirm your architecture before changing cache settings, and verify headers and shopper interactions after each fix.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fmagento%2Fpage-speed%20(%22Magento%20page%20speed%20optimization%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fmagento%2Fpage-speed%20(%22Magento%20page%20speed%20optimization%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fmagento%2Fpage-speed%20(%22Magento%20page%20speed%20optimization%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fmagento%2Fpage-speed%20(%22Magento%20page%20speed%20optimization%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 5 minutes.

1. [Find the page group and metric with real users 01](#find-the-page-group-and-metric-with-real-users)
2. [Check the deployment and caching layer 02](#check-the-deployment-and-caching-layer)
3. [Fix the cause that matches the user-visible problem 03](#fix-the-cause-that-matches-the-user-visible-problem)
4. [Verify after release with shoppers' tasks 04](#verify-after-release-with-shoppers-tasks)

_01_Use each measurement for the question it answers

## Find the page group and metric with real users

Use [field data](/glossary/real-user-monitoring) to decide what to fix, then use a controlled lab test to investigate. Google's web.dev guidance recommends judging [Core Web Vitals](/glossary/core-web-vitals) at the 75th percentile of page loads, segmented across mobile and desktop; a single [Lighthouse](/glossary/lighthouse) run is useful for debugging but does not represent every shopper. Compare product pages with product pages and mobile with mobile. A category template, a configurable product, and a campaign [landing page](/glossary/landing-page) can have different bottlenecks even on the same store.

Source

### [Search Console](/glossary/google-search-console) Core Web Vitals or [CrUX](/glossary/chrome-ux-report)

Best use

Find field performance patterns across real visits

Limit

Grouped or origin data may not isolate one code change

Source

### [PageSpeed Insights](/glossary/pagespeed-insights)

Best use

Compare field data with a reproducible Lighthouse trace

Limit

A lab run uses simulated conditions

Source

### Browser performance tools and server logs

Best use

Trace a specific request, script, image, or backend response

Limit

One URL or session may not represent the whole catalog

- Choose a homepage, category, simple product, configurable product, and the slowest important entry page.
- Record device, URL, template, date, cache state, and the metric before changing code or configuration.
- Check the actual LCP element and main-thread tasks instead of optimizing a generic score.
- Use the page-level diagnostics for [poor LCP](/seo-issues/poor-lcp), [poor INP](/seo-issues/poor-inp), and [poor CLS](/seo-issues/poor-cls).

_02_How it works

## Check the deployment and caching layer

Adobe Commerce has application caches, full-page [HTTP caching](/glossary/http-caching), and static asset caching. These layers are configured separately. Adobe recommends Varnish for full-page caching on on-premises deployments; Adobe Commerce on Cloud infrastructure uses Fastly for edge and full-page caching, not a separately managed Varnish service. Do not apply an on-premises Varnish procedure to a Cloud project.

**A cache hit is not the whole speed story**A fast cached HTML response can still deliver a slow product image or blocking JavaScript. Check backend response, asset delivery, and browser interaction separately.

1. 01

### Identify the deployment

Confirm whether the storefront uses Adobe Commerce on-premises, Cloud infrastructure, Commerce as a Cloud Service, or a custom/headless front end. Cache ownership and available controls differ by architecture.
2. 02

### Check production mode and static files

Adobe's application modes page describes production mode as the mode for a production system, and says default mode is not optimized for production because of the performance cost of static files. In production mode, static files are not generated or cached on demand; you write them with `bin/magento setup:static-content:deploy`. On Cloud, Adobe says the application runs in production mode and mode changes in remote environments are restricted. Follow your version's deployment process rather than running deployment commands ad hoc on a live store.
3. 03

### Inspect the full-page cache

For on-premises deployments, Adobe's Varnish verification page says to check response headers with `curl -I` and look for `X-Magento-Cache-Debug: MISS` on the first request and `HIT` afterward. It says to use developer mode, because otherwise you will not see the headers, and that a cacheable page such as a category page should load in under 150 ms when Varnish works. For Cloud, inspect the Fastly cache behavior using the Cloud-specific tools and headers available to your project.
4. 04

### Refresh only what is stale

Adobe says clearing cache types during peak demand can increase load on the Admin and take the site down until the operation completes. It recommends flushing during non-peak times and always flushing the cache after installing extensions or upgrading. Choose the cache type that matches the change.

_03_Use the trace to choose a targeted change

## Fix the cause that matches the user-visible problem

Signal

### Slow LCP

Inspect first

Largest product or hero image, response time, render-blocking CSS

Practical next step

Serve the correct responsive image size, prioritize the visible image, and remove unnecessary blocking work

Signal

### Poor INP

Inspect first

Theme and extension JavaScript, long main-thread tasks

Practical next step

Profile the interaction, then defer or remove noncritical work only after confirming the dependency

Signal

### High CLS

Inspect first

Images without reserved dimensions, fonts, late banners or widgets

Practical next step

Reserve space for content that loads later and check layout at common mobile widths

Signal

### Slow category response

Inspect first

Cache misses, expensive custom blocks, catalog queries

Practical next step

Compare cacheable and uncached requests; profile the specific block or integration. Adobe recommends the Update on Schedule indexer mode for performance, since Update on Save can cause significant delays during high loads

Signal

### Slow first visit to assets

Inspect first

Static deployment, CDN delivery, large bundles

Practical next step

Verify production static files and caching headers. Adobe does not recommend merging JS and CSS files, and says JS bundling is not recommended where first page load time is extremely critical

Adobe's performance guidance is deployment-specific: the Varnish, static content, and Admin settings on this page apply to the traditional Commerce application, and its storefront docs cover Edge Delivery Services separately. Treat cache, static content deployment, and storefront code recommendations as architecture-specific rather than interchangeable toggles. Adobe also says HTTP/2 can be an alternative to JS bundling and is enabled by default on Cloud infrastructure projects.

_04_How it works

## Verify after release with shoppers' tasks

1. 1

### Repeat the same measurement

Use the same URLs, device conditions, and cache state as the baseline. Run multiple lab tests and compare the median; keep the field-data trend for real-user impact.
2. 2

### Test purchase interactions

Check variant selection, gallery zoom, filters, cart, checkout entry, consent prompts, and account controls on desktop and mobile. A faster score is not a fix if a shopper action stops working.
3. 3

### Check cache correctness

Verify that prices, stock, customer-specific content, and cart state remain correct. Caching must not show one shopper another shopper's session or stale inventory.
4. 4

### Watch the affected template

After deployment, monitor Core Web Vitals by page group and device. If the metric improves only in the lab, investigate whether the change shipped, the field sample is large enough, or another template is the real issue.

For the platform's other crawl and indexing controls, see the [Adobe Commerce SEO guide](/seo/magento). For metric definitions, see [Core Web Vitals](/glossary/core-web-vitals). Keep performance changes separate enough to trace their effect, and document the cache or theme change that produced it.

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ Does Adobe Commerce use Varnish or Fastly?

Adobe recommends Varnish for on-premises full-page caching. Adobe Commerce on Cloud infrastructure uses Fastly for edge and full-page caching, so follow the deployment-specific guide.

_02_ How do I measure Magento Core Web Vitals?

Use Search Console or CrUX for field patterns and PageSpeed Insights or Lighthouse to debug representative URLs. Compare the same page type and device, and use repeated lab runs rather than one score.

_03_ Should I flush all Magento caches to make the site faster?

No. Adobe says clearing cache types during peak demand can increase load on the Admin and take the site down until the operation completes. Flush after installing extensions or upgrading, and schedule it for non-peak hours.

_04_ Does enabling JavaScript bundling always improve Magento speed?

No. Adobe says bundling reduces requests, but it is not recommended for stores where first page load time is extremely critical, because all JS content loads on the first call. Adobe also does not recommend merging JS and CSS files. Measure your theme and deployment first.

Sources · 8

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- adobe.com
- google.com
- web.dev

1. 01 [Configuration best practices | Adobe Commerce](https://experienceleague.adobe.com/en/docs/commerce-operations/performance-best-practices/configuration) experienceleague.adobe.com · checked 2026-10-24
2. 02 [Caching overview and configuration options | Adobe Commerce](https://experienceleague.adobe.com/en/docs/commerce-operations/configuration-guide/cache/caching-overview) experienceleague.adobe.com · checked 2026-10-24
3. 03 [Application modes | Adobe Commerce](https://experienceleague.adobe.com/en/docs/commerce-operations/configuration-guide/setup/application-modes) experienceleague.adobe.com · checked 2026-10-24
4. 04 [Deploy static view files | Adobe Commerce](https://experienceleague.adobe.com/en/docs/commerce-operations/configuration-guide/cli/static-view/static-view-file-deployment) experienceleague.adobe.com · checked 2026-10-24
5. 05 [Core Web Vitals and Google Search results | Google Search Central](https://developers.google.com/search/docs/appearance/core-web-vitals) developers.google.com · checked 2026-10-24
6. 06 [Web Vitals | web.dev](https://web.dev/articles/vitals) web.dev · checked 2026-10-24
7. 07 [Verify Varnish configuration | Adobe Commerce on Prem](https://experienceleague.adobe.com/en/docs/commerce-operations/configuration-guide/cache/varnish/config-varnish-final) experienceleague.adobe.com · checked 2026-10-24
8. 08 [Cache management | Adobe Commerce](https://experienceleague.adobe.com/en/docs/commerce-admin/systems/tools/cache-management) experienceleague.adobe.com · checked 2026-10-24

## Keep learning

[All platform guides](/seo)

[Learn Adobe Commerce SEO (Magento) Ecommerce platforms](/seo/magento) [Related Largest Contentful Paint Performance](/glossary/largest-contentful-paint) [Read next Shopify speed optimization Ecommerce](/seo/shopify/page-speed) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in platform guides
[Laravel maintenance mode and SEO](/seo/laravel/maintenance-mode) [Adobe Commerce SEO (Magento)](/seo/magento) [Mintlify AI crawlers and llms.txt](/seo/mintlify/ai-crawlers)

More in Adobe Commerce SEO (Magento)
[Adobe Commerce XML sitemap](/seo/magento/xml-sitemap) [Magento page speed optimization](/seo/magento/page-speed)

Terms on this page
[Real user monitoring (RUM)](/glossary/real-user-monitoring) [Core Web Vitals](/glossary/core-web-vitals) [Lighthouse](/glossary/lighthouse) [Landing page](/glossary/landing-page) [Google Search Console](/glossary/google-search-console) [Chrome UX Report (CrUX)](/glossary/chrome-ux-report) [PageSpeed Insights](/glossary/pagespeed-insights) [HTTP caching](/glossary/http-caching)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
