Magento2 – Refresh Cache After an Order is Placed

cachemagento2sales-order

I'm seeing that everytime an order is placed, you have to refresh the cache manually, it displays the message on admin panel. In specific the configuration type cache. Is that normal?

I display an additional information on products like how many items are sold, so I need to resfresh the cache everytime an order is placed.

How can I do it?

Best Answer

There is no need to clean cache every-time, and sold item count on product view page doesn't create any problem, please clear cache with below command,

php bin/magento cache:clean
Related Topic