Installation
P2Lab Cache is a regular Shopware 6 plugin. You install it the same way you install any other plugin — via the admin Extensions page or via Composer / the CLI.
Requirements
Section titled “Requirements”- Shopware 6.6 (the plugin’s
composer.jsonconstrainsshopware/core,shopware/administrationandshopware/storefrontto>=6.6 <6.7) - A running async message worker (
bin/console messenger:consume async) for cache warming - A backend choice — see Storage backends — and the matching infrastructure (Redis service, APCu extension or just disk space for Filesystem)
Install via the admin (ZIP upload)
Section titled “Install via the admin (ZIP upload)”- Download the plugin ZIP (
P2LabCache_vX.Y.Z.zip) from your distribution source. - In the Shopware admin go to Extensions → My extensions → Upload extension and pick the ZIP.
- After upload, click Install next to the plugin entry.
- Click Activate.
- Clear the Shopware cache so the new HTTP cache decorator is picked up.
Install via CLI
Section titled “Install via CLI”If you have shell access to the Shopware host, copy the plugin into custom/plugins/P2LabCache and run:
bin/console plugin:refreshbin/console plugin:install --activate P2LabCachebin/console cache:clearVerify the installation
Section titled “Verify the installation”- Open the Shopware admin.
- Go to Settings → Extensions → Speed Boost — you should land on the P2Lab Cache dashboard.
- From the storefront, open any product page. On the second request the response should be served from cache.
To confirm a HIT, temporarily enable Debug mode in Settings → Speed Boost → Core and reload the page. The response will include:
X-P2Lab-Cache-Status: HIT(orMISSon the first request)X-P2Lab-Cache-Generation-Time: <seconds>
If the headers are missing, see Troubleshooting.
Update
Section titled “Update”- Upload the new ZIP via Extensions → My extensions → Upload extension (overwrites the existing version).
- Run database migrations if Shopware prompts for them.
- Clear the Shopware cache.
Cache entries from earlier versions remain valid across patch updates. Major updates may require a full Clear cache from the dashboard.
Uninstall
Section titled “Uninstall”The plugin removes its own database tables and system-config entries during uninstall. To uninstall cleanly:
bin/console plugin:uninstall P2LabCachebin/console cache:clearOr use Extensions → My extensions → Uninstall from the admin.
Next: configure it
Section titled “Next: configure it”The plugin is installed but uses safe defaults that may not match your infrastructure. Continue to Quick configuration.