Clear the shop cache in Shopware 6

Updated on: October 2, 2021

Have you made adjustments to your Shopware 6 shop, but your changes are not visible? In this case, you may need to clear your cache. Depending on the cache setting, you have to clear the cache after editing the content and settings. You should clear the shop cache and if necessary, your browser cache as well. In the following we will show you how you can clear the shop cache of your Shopware 6 shop in just a few steps.

Clear the cache

There are different ways of clearing the shop cache of your Shopware 6 shop. This is possible both via a command via the console of the server and via the Shopware 6 shop administration.

Variant 1: Clear the shop cache via administration

First log into the administration of your shop by calling up the following link in your browser: "https://shopdomain.de/admin". After successfully logging in, you will be directed to the administration of your shop. First click on the menu item "Settings" in the left side menu. Then click on the left on the tab "System" and then on the area "Caches & Indices". In this area you will find all settings and actions for the caches and indexes. To clear the shop cache, click on the button "Clear caches". In this case, the cache is immediately cleared synchronously for all used adapters.

Remember to rewarm the cache as needed. Alternatively, you can clear and warm up the cache using the "Clear and warm up caches" button.

Shopware 6 cache via administration

Variant 2: Clear the shop cache via the console

In addition to the option above describing how to clear the shop cache via the administration, the clearing of the shop cache can be accomplished by using the server console. The associated CLI command is as follows: php bin/console cache:clear.

When using this variant, remember to rewarm the shop cache. The associated CLI command to warm up the cache looks like this: php bin/console cache:warmup

Shopware 6 Cache empty via server
If you are not familiar with handling the server console and are not sure how to use it, we recommend that you clear the cache of your Shopware 6 shop preferably via the administration.

How to clear the cache in Shopware 6

In Shopware 6 you can clear the shop cache as follows:

  • Login into the administration of your shop.
  • On the left side in the menu click on "Settings".
  • Click on the "System" tab on the left.
  • Click the "Caches & Indices" area.
  • Use the "Clear caches" button to clear your shop cache.
  • Warm up the cache again as needed.
Code 108 Blog

Related posts

  • Maintnenance Mode

    To activate the maintenance mode in your Shopware 6 shop, log in ...

    Continue reading
  • Adjust the menu

    The adjustment of the menu in Shopware 6 is possible with just a few steps by ...

    Coming soon
  • Productfinder

    Help your customers find out which product is perfect for their purposes ...

    Coming soon