Question
Choosing Between Shopware 6 Built‑In Reverse Proxy and External Varnish for Cache Invalidation
Ash Maple
0 reputation · 22 Jan 2026, 08:44 UTC
28.4K views0
Goal
Determine the most effective caching strategy for a production Shopware 6 storefront, balancing performance, invalidation accuracy, and deployment complexity.
Constraints
- Shopware’s built‑in reverse proxy uses tag‑based invalidation that may be limited by tag cardinality and the timing of Administration updates.
- External Varnish or CDN solutions require correct
trusted-proxyandhostconfiguration to forward BAN/PURGE requests. - Misconfigured proxies can leak personalized content between users, posing a security risk.
Unresolved Decision
Whether to rely on Shopware’s internal reverse proxy or to offload caching to a dedicated Varnish/CDN, given the differing invalidation mechanisms and operational overhead.
Specific Questions
- Does the built‑in reverse proxy provide sufficient invalidation granularity for frequent product updates on a high‑traffic site?
- How does Varnish handle tag‑based invalidation compared to Shopware’s internal mechanism, especially regarding TTLs and purge propagation?
- What are the security implications of misconfigured trusted proxies when using the built‑in reverse proxy versus an external Varnish setup?