Zum Inhalt springen

Shopware 6 Performance Tuning: Getting the Most Out of Elasticsearch, Redis, and HTTP Cache

Veröffentlicht am Jun 5, 2025 | ca. 3 Min. Lesezeit |

A slow shop costs revenue. Shopware 6 offers three powerful performance tools: Elasticsearch for search and product listings, Redis for session/cache/queue storage, and HTTP Cache for serving cached responses without PHP execution.

Elasticsearch should be enabled for catalogs with more than ~10,000 products. Without it, Shopware falls back to the DAL (Data Abstraction Layer) with MySQL/MariaDB for all product queries, which degrades significantly at scale.

Redis accelerates three areas: session storage (faster than filesystem/database), object cache (using the Redis tag-aware adapter for precise invalidation), and the Message Queue backend (reliable async processing).

HTTP Cache serves cached pages to anonymous visitors without executing PHP — dramatically reducing server load. Shopware supports both its built-in Symfony reverse proxy and Varnish for high-traffic setups.

Combined with proper database tuning (InnoDB buffer pool, slow query logging) and asset optimization, sub-500ms response times are achievable even on complex shops.

Thomas Wunner

Thomas Wunner

Certified IT specialist for application development with an instructor qualification and over 14 years of experience building scalable web applications with Symfony and Shopware. When not coding, Thomas volunteers as a lifeguard with the Wasserwacht, performs as a DJ, and explores the countryside on his motorbike.

Kommentare

Kommentare werden von Remark42 bereitgestellt. Beim Laden werden Daten an unseren Kommentar-Server übertragen.