Frequently Asked Questions

Clearing Magento Cache - From Shell/CLI
Last Updated 4 years ago

To simplify the process of clearing the cache from your site, we have created a simple script for this purpose.
Here is a simple, step-by-step guide on how to clear Magento's cache from shell/terminal/command-line interface (CLI):
1. Download the script and upload it to the root of your Magento installation.
2. Open your Terminal/SSH client software.
3. Connect to your web server.
4. Navigate to the root of your Magento installation (where you uploaded the script).
[[email protected] ~]# cd /path/to/mysite
5. Execute the script from your terminal:
[[email protected] /path/to/mysite]# php clear-cache.php
Additional reading

Please Wait!

Please wait... it will take a second!