24/7 Magento, server & cloud support · USA · UK · Europe · Middle East · Asia hello@scripulse.com
Magento9 min read

Magento 2 Performance Optimisation: A Practical Checklist for Sub-2-Second Stores

A field-tested Magento 2 / Adobe Commerce performance checklist covering hosting, full-page cache, Redis, OpenSearch, database, front-end and Core Web Vitals.

Slow Magento stores rarely have one problem. They have six small ones that compound. This checklist is the order we use on audits, starting with changes that deliver the most speed for the least risk.

1. Measure before you touch anything

Capture a baseline: real-user Core Web Vitals (CrUX or RUM), synthetic runs on key templates (home, category, product, cart, checkout), and server-side profiling. Without a baseline you cannot prove improvement, or catch regressions after the next release.

  • Track LCP, INP and CLS per template, not just site averages.
  • Record TTFB for cached and uncached pages separately.
  • Profile slow requests with Blackfire, New Relic or Tideways.

2. Run production mode with the full-page cache done right

Use production mode, compiled DI and static content deployed. Put Varnish or Fastly in front, and make sure the cache hit ratio is measured. Frequent cache-busting causes include session-dependent blocks rendered server-side, unscoped cache tags and aggressive cron-driven invalidation.

3. Use Redis (or Valkey) for cache and sessions

Separate Redis instances for default cache, page cache and sessions prevent one workload from evicting another. Enable L2 caching and compression where CPU allows.

4. Move search to OpenSearch and tune it

Search and layered navigation drive category-page cost. Size shards sensibly, keep indexers on schedule rather than "update on save" for large catalogs, and review heavy filterable attributes.

5. Fix the database

  • Enable slow-query logging and review the top offenders weekly.
  • Tune InnoDB buffer pool to hold your working set.
  • Clean up stale quotes, sessions, logs and unused URL rewrites.
  • Audit third-party modules for unindexed custom queries.

6. Audit extensions ruthlessly

Every module adds observers, plugins and layout XML. Disable anything not paying for itself, and review plugin chains on hot paths such as product collection loading and totals collection.

7. Modernise the front-end

A heavy Luma and RequireJS stack is the single largest source of poor INP on mobile. A Hyvä theme or a headless storefront can cut JavaScript dramatically. If a rebuild is not possible yet, defer non-critical scripts, self-host fonts, serve AVIF/WebP images with correct dimensions, and preload the LCP image.

8. Put a CDN in front of everything static

Serve media and static assets from a CDN with long cache lifetimes and image optimisation at the edge. Fastly on Adobe Commerce Cloud already helps; self-managed stores can use CloudFront or Cloudflare.

9. Offload work to queues and cron wisely

Run consumers for async operations, bulk actions and inventory. Keep cron on a dedicated worker so it never competes with customer traffic.

10. Load test before every peak

Test checkout, not just browsing. Use k6 or JMeter with realistic scenarios, ramp to 2× your expected peak, and watch database connections, PHP-FPM workers and cache-hit rate.

Want an expert review of your store?

Our engineers will profile your Magento store and give you a ranked fix list. Request a Magento performance audit →

Summary

Measure first, fix caching and infrastructure, trim extensions, then modernise the front-end. Re-test after each change so speed gains survive future releases.

S
Scripulse Engineering Team
Written and reviewed by our Magento, Linux, SRE, cloud and security engineers. About our team.
Let’s talk

Need a reliable engineering partner for your platform?

Tell us what you need. A senior engineer will reply within one business day with a clear next step.

Book a free audit →