(Archived) How can I flush the Magento Cache

You have tried to access an archived page. Please go to the new https://root360.atlassian.net/wiki/spaces/KB to find more documents.




Magento 1.x creates a cache locally, under /var/cache or remote (Redis / Memcached), whose use is generally recommended.

To flush the Magento cache, a script is available on the root360 environment.



magento-flush.sh [-r role] [-q|-d] [-h] -d : enable debug mode" -h : print this help" -q : enable quiet mode (only errors are shown)" -r role: use server with given role for flushing magento"


With this script, it is possible to flush the Magento Cache for any role from a Natgw in the root360 environment.

For example for the role web:

magento-flush.sh -r web



root360 Knowledge Base - This portal is hosted by Atlassian (atlassian.com | Privacy Policy)