Please note that this article is only for users of a self-hosted store. This is not relevant for users of a Shopware 6 Cloud environment.
In the module Caches & Indexes you are able to empty and warm up the cache. It also gives you an overview of some system configurations.
In the overview you will get the information whether your shop is used in productive mode. This is indicated by the entry "Production" in the Environment (1).
You can also see here whether the HTTP cache is active (2) and which cache adapter (3) is used.
You can adjust the environment mode and HTTP cache in the .env file in the Shopware main directory.
For more information on how to customize the environment settings, click here.
activated. (=0) deactivates the cache.
In the lower part of the module you have different functions for the cache and the indexes.
php bin/console cache:clear
Use the dropdown menu (7) to select all indices that should not be updated when updating indices.
php bin/console dal:refresh:index
rm -rf SHOPWARE-ROOT-DIRECTORY/var/cache/*