Every setting under Settings → Speed Boost maps to a Shopware system_config key under the namespace P2LabCache.config.<name>. You can override them in config/services.yaml, through the admin UI, or via the System Config API.
Key Type Default Notes activebool trueMaster cache toggle cacheModeenum basicbasic / advanced — dashboard presetserverTtlint 86400Server-side TTL, seconds cacheControlDirectiveMaxAgeint 0Cache-Control: max-age=…cacheControlDirectiveSMaxAgeint 21600Cache-Control: s-maxage=…cdnCacheControlMaxAgeint 0CDN-Cache-Control: max-age=… (Cloudflare / Fastly / Akamai)listingLoadModeenum skeletonskeleton / backgroundlistingBackgroundReplacementenum nonenone / fadecacheHomePagebool trueCache frontend.home.page cacheNavigationPagesbool trueCache frontend.navigation.page cacheNavigationAjaxPagebool trueCache frontend.navigation.page.ajax cacheNavigationAjaxFilterbool trueCache frontend.navigation.filter cacheProductPagesbool trueCache frontend.detail.page cacheCmsPagesbool trueCache frontend.cms.page cacheAsyncBuyboxbool falseCache async-buybox response ignoredQueryParamsstring[] (built-in list) Stripped from cache key
Key Type Default Notes invalidationModeenum smartmanual / request (Basic) / extended / precise / smartenableInvalidationLogbool falseRecords every invalidation event debugModebool falseAdds X-P2Lab-Cache-* headers cacheAdapterenum filesystemfilesystem / redis / apcuredisDsnstring ''e.g. redis://localhost:6379 cacheNamespacestring p2lab_cacheBackend key prefix enableCompressionbool truegzip the stored payload compressionLevelint 61 / 3 / 6 / 9
Key Type Default Notes enableVarnishCachebool trueSend xkey purges to Varnish xkeyInvalidationStrategyenum smartdefault / precise / smartsplitXkeybool falseSplit long xkey into multiple headers shortenXkeyTagsbool falseMD5-hash long tag names enableReverseProxyLogbool falseRecords every xkey purge xkeyTagBlockliststring[] []Categories to exclude from xkey purges
Value Excludes tags matching themetheme.*translatortranslator.*configconfig.*, system-config-*route*-route-*snippetsnippet-*rulerule-*mediamedia-*property_groupproperty-group-*manufacturermanufacturer-*sales_channelsales-channel-*product_stockp2c-product-stock_*
$this-> systemConfigService -> set (
' P2LabCache.config.invalidationMode ' ,
$salesChannelId // null for global
Every key supports per-sales-channel override. From the admin, use the page-header sales-channel switcher and toggle “Override”. From the API, pass the sales-channel ID as the third argument to systemConfigService->set().