共计 609 个字符,预计需要花费 2 分钟才能阅读完成。
To clear Magento cache you need to login to Magento backend, navigate to System > Cache Management screen and use Flush Cache button to flush caches:
Javascript/CSS caches and Images cache can be flushed at the same screen with corresponding buttons.
If Magento admin interface is inaccessible
If you have no access to Magento admin interface due to some issue, the caches can be cleaned from the console, simply login to your Magento installation via SSH or FTP and delete all subdirectories of var/cache directory.
SSH users can use the following command to flush Magento caches:
$ find ./var/cache -type f -delete
FTP users can use the following command to cleanup Magento caches:
> mrm -r ./var/cache ; mkdir ./var/cache