Shopware HTTP Cache Debugging and Context

Version 5.26.0 of the PHP Extension contains instrumentation for the Shopware HTTP Cache that allow debugging the context information.

This is available when clicking on the „shopware“ span of a trace in the Timeline or Flamegraph and now contains the following annotations:

  • shopware.http_cache.key: The unique name of the cache entry for this page and context information. This is visibile on both cached and uncached pages.
  • shopware.http_cache.tags: The tags that the cache key is associated with. If one of these cache tags is purged by Shopware then the cache entry of this page is purged as well.
  • shopware.http_cache.context_cookie: The contents of the Cache Context Cookie, meaning all the relevant context information that go into the generation of the cache key. Especially of note here is the list of rule ids (capped at 10 at the moment) that can give insights on which rules influence the cache.

Components

  • PHP Extension
  • User Interface

Published

06.08.2025