Basically, there are two ways to clear cache in Shopware 6, first from the command line and another directly from Shopware admin

1) Using the command line:

php bin/console cache:clear

This command will remove all cached data from your site. In theory, you could just delete all of the files in the var/cache directory; however, this does not always work because the cache may be stored elsewhere, such as Redis. That is why calling cache:clear is preferable.

2) From admin

Go to the Settings > System > Caches & Indexes menu. Simply press the Clear Caches button.

How to clear cache in Shopware 6 admin

Hope this Shopware 6 tutorial helped you gain your knowledge, If you have any questions or discover any issues, please post them in the comments box below. We'd be delighted to assist you with this.

Remember to share this solution with your Shopware community or friends on social media, and stay tuned for future Shopware 6 tech tutorials.

Also, if you want to Develop Your Shopware Plugins do contact our certified shopware experts.

Have fun coding!!

Starting your own Shopware Store?

Get a free consultation from Shopware experts on do's and don't