Performance Tweaks
This page provides some basic performance tweaks for running a Shopware project with ddev.
Last updated
Was this helpful?
This page provides some basic performance tweaks for running a Shopware project with ddev.
Last updated
Was this helpful?
Even with the default settings, you will notice a surprisingly good performance in terms of UI response times. If you want to spice things up a bit, follow these instructions.
Add a file .ddev/php/shopware.ini
with the following content:
These settings just implement Shopware’s performance recommendations . The only exception being the value for opcache.validate_timestamps. Disabling it will result in changes to your source files being un-noticed by the web container.
Add a file .ddev/mysql/my.cnf with the following content:
The above settings remove the ONLY_FULL_GROUP_BY sql mode and set the group concat max len to 320000. Again, these are Shopware’s recommendations .
Eventually, add some lines to your .env.local file:
See for more details and explanations.