In‑Depth Shopware Analysis
- Role
- Consultant
- Year
- 2020
- Technologies
- Shopware 6, Blackfire, MySQL, Redis
In-depth Shopware 6 performance analysis using Blackfire profiling — isolating database, rendering and caching bottlenecks; quick wins cut category load times from 4.2s to under 1.5s.
The challenge
A Shopware 6 storefront with worsening load times after a feature-parity migration — multi-second category pages, search timeouts, and rising checkout abandonment.
My role
Targeted performance analysis with Blackfire profiling across database, rendering, frontend and caching layers, delivered as a lean report with measured impact, root cause and fix for each finding.
The outcome
Quick wins cut category load times from 4.2s to under 1.5s, resolved the search timeouts, and the client saw a measurable conversion improvement within two weeks.
Context
A mid-sized retailer had recently migrated to Shopware 6, expecting improved performance and a modern storefront experience. Instead, they faced progressively worsening page load times — category pages taking several seconds to render, search queries timing out, and checkout abandonment rising. The internal development team had attempted several optimisations without success, and the shop’s performance was directly hurting revenue.
Challenge
The migration from Shopware 5 to 6 had been treated primarily as a feature parity project — the team focused on replicating functionality rather than adapting to the new platform’s architecture. Shopware 6’s storefront relies heavily on server-side rendering with client-side hydration, and the team’s approach to custom theming had introduced expensive database queries in critical render paths. Additionally, the product search — powered by MySQL full-text search instead of Elasticsearch — was scanning large tables on every query. The challenge was to identify the specific bottlenecks among dozens of potential causes and deliver recommendations the team could act on immediately, without requiring a full architectural overhaul.
Approach
I performed a targeted performance analysis using profiling tools — primarily Blackfire — to trace request lifecycles and isolate hotspots. The analysis examined four layers: database query patterns and index efficiency, server-side template rendering and Twig cache utilisation, frontend asset delivery and JavaScript hydration cost, and caching strategy across HTTP, Redis, and Shopware’s internal cache layers. Each bottleneck was quantified with before/after metrics where possible. The findings were structured as a lean, actionable report: each issue described with its measured impact, root cause, concrete fix, and estimated effort. Recommendations ranged from configuration changes requiring minutes to implement, to moderate refactoring steps with clear code examples.
Outcome
The analysis identified five primary bottlenecks, three of which were resolved through configuration changes within the first week — including enabling the Twig compile cache, adding strategic Redis caching for category queries, and optimising storefront JavaScript bundle splitting. Page load times on category pages dropped from 4.2 seconds to under 1.5 seconds. The search query timeout issue was resolved by restructuring the relevant database indexes. The report also provided a longer-term roadmap: migrating search to Elasticsearch and refactoring the custom theme to align with Shopware 6’s storefront architecture. The client reported a measurable improvement in conversion rate within two weeks of implementing the quick wins, and the analysis served as the basis for their subsequent performance budget policy.
Ready to discuss your project?
Book a 30-minute intro call. No obligation, no sales pitch.