Magento – Magento 2 – Flush cache storage

cachemagento2.2

My inod limit is increasing automatically day by day and after some research, I was told to clear the cache files i.e delete them. So I was asking if is it ok to flush cache storage form Magento 2 backend.

Or is there any way I can stop the Inod files to increase? they are increasing so rapidly which is causing my website to slow down.

Also, I hope it won't harm my website if I do flush cache storage?

Thanks in advance.

Best Answer

Yes you can flush cache storage using Admin panel by clicking button "Flush Cache Storage" which you can find under:

System -> Cache Management

from command line you can try command below :

php bin/magento cache:flush

Also disabling your log size and merging js/css files could also help ( if not already changed)

However i would recommend to fix your innod size issue first, for that you would need to change your hosting plan may be , because innod size can't be increased once created.

If you keep clearing cache, you would face slowness of website and impact on site performance too. Secondly, you can't keep clearing cache all times. clearing cache is avoiding the issue not fixing the issue to fix the issue you need to increase innod size.

Related Topic