eCommerce

Magento 2 Performance Tuning: Where the Time Goes

Magento is powerful and unforgiving. A misconfigured store is slow no matter how good the hosting. These are the settings that actually move the needle.

Magento and Adobe Commerce store development and optimisation

Magento gives you more control than any other mainstream commerce platform, and expects you to use it. A default installation on adequate hardware can still feel slow, because Magento's performance depends almost entirely on configuration. The good news is that the wins are well understood.

Start With the Obvious

  • Production mode. Developer mode compiles on every request. Stores have gone live in the wrong mode and blamed the platform for months.
  • Full page cache, with Varnish. Magento's built-in cache works; Varnish is substantially better and is what the platform is designed around.
  • Indexers on schedule, not on save. Reindexing on every product save makes bulk updates crawl and can lock the catalogue.
  • Elasticsearch properly configured. Search and layered navigation depend on it, and a misconfigured instance degrades both badly.

These four resolve a large share of the Magento stores we are asked to look at. None of them is exotic; they are simply easy to get wrong during a rushed launch.

Third-Party Extensions

Magento's extension ecosystem is a genuine strength and the most common source of trouble. Poorly written extensions add database queries to every page load, disable caching for their own convenience, or conflict with each other in ways that only appear under load.

Audit what is installed. For each extension, ask whether it earns its place. Disabling one at a time on a staging copy while measuring is tedious and frequently identifies a single culprit responsible for most of the problem.

The Database

Large catalogues with many attributes generate heavy queries through Magento's EAV structure. Keep indexers healthy, clean old log tables — quote and report tables grow enormously and are rarely pruned — and examine your slowest queries directly rather than guessing.

The method is the same as any other platform, and we describe it in why sites slow down as they grow. It is also the substance of database development and optimisation.

Hosting Is Not Optional

Magento needs real resources: adequate PHP memory, Redis for sessions and cache, a properly sized database server, and Varnish in front. Shared hosting cannot do this. Getting the infrastructure right is cloud and DevOps work, and attempting to economise here is the most reliable way to have a slow store.

The Front End

Magento's default theme ships a lot of JavaScript, and the layered navigation and product listing pages are usually the heaviest. Bundling and minification help; removing unused modules helps more. For stores where the storefront experience is a differentiator, decoupling it entirely is worth evaluating — the trade-offs are in headless commerce.

The general front-end measures apply too, as covered in improving Core Web Vitals and delivered through speed optimisation.

Is Magento Still the Right Platform?

Be honest about total cost. Magento's capability is unmatched for complex catalogues, B2B rules and multi-store setups — we rely on it for an industrial parts B2B store. But it demands ongoing developer and infrastructure investment that smaller merchants underestimate.

If your requirements have simplified, moving to Shopify or BigCommerce may cut your running costs substantially — we walk through that in the migration guide and BigCommerce for B2B. If they have not, tuning what you have is far cheaper than replatforming.

Tell us your Magento version and where it hurts and we will start with measurement rather than a rebuild proposal. See also our Magento development work.

Frequently Asked Questions

Why is my Magento 2 store so slow?

Magento's speed depends heavily on configuration. Common causes are running in developer mode instead of production mode, not using Varnish for full page cache, indexers set to update on save, a misconfigured Elasticsearch, poorly written extensions and inadequate hosting. Fixing these resolves a large share of slow stores.

Do I need Varnish for Magento 2?

It is strongly recommended. Magento's built-in full page cache works, but Varnish performs substantially better and is what the platform is designed around. Combined with Redis for sessions and cache, it is a standard part of a properly configured Magento hosting setup alongside a correctly sized database server.

How do I find which Magento extension is slowing my store?

Audit what is installed and ask whether each extension earns its place. Then, on a staging copy, disable extensions one at a time while measuring performance. It is tedious but often reveals a single extension responsible for most of the slowdown, such as one that adds queries to every page or disables caching.

Should I leave Magento for Shopify or BigCommerce?

Only if your requirements have simplified. Magento remains strong for complex catalogues, B2B rules and multi-store setups, but it needs ongoing developer and infrastructure investment. If you no longer need that capability, moving can cut running costs; otherwise tuning the store you have is far cheaper than replatforming.

How We Can Help

Services Related to This Article

The work we do with the technologies discussed above — with pricing, process and real examples on each page.

  • Database Development

    Schema design, query and index tuning, migrations and search infrastructure across MySQL, PostgreSQL, MongoDB, Redis and Elasticsearch.

  • Cloud Hosting & DevOps

    AWS, Azure, Google Cloud and DigitalOcean setup, Docker and Kubernetes, CI/CD pipelines, Nginx tuning, monitoring, backups and cost optimisation.

  • Website Speed Optimization

    Make your website load in a blink. We diagnose bottlenecks and improve Core Web Vitals for better rankings and conversions.

  • Shopify Development

    Custom Shopify theme development in Liquid, Online Store 2.0 sections, app integrations, migrations and conversion-focused storefronts.

In Practice

Case Studies on This Topic

Projects where we put these ideas to work, each with a live demo.

  • Gears Chains — Hartwell Industrial
    • Magento 2
    • PHP 8
    • MySQL

    Magento eCommerce

    Industrial Parts B2B Store

    An 84,000-SKU Magento 2 store with contract pricing, quick order and ERP-synced stock for trade accounts.

  • Couch Furniture — Halden Living
    • Shopify Plus
    • Liquid
    • Magento 1 export

    eCommerce Replatforming

    Furniture Retailer Replatform to Shopify Plus

    An 11,400-product move off end-of-life Magento 1, with 9,860 redirects and a 26% better checkout rate.

Keep Reading

Let’s Connect

Let’s Build Something Amazing Together

Share your project details and our experts will get back to you within one business day with the best solution — free consultation, no obligation.