Clearing the Magento Cache

Just another quick Magento tip as I continue my journey back into the swamps of e-commerce.

Magneto’s admin console has a section for managing your cache
(System->Cache Management) which works well, unless you happen to get a bad configuration cached that crashes the system or renders the admin inaccessible.

When that’s happened to me I’ve been able to completely delete the cache folder, and Magento is smart enough to recreate it on the fly

rm -rf var/cache

This will zap all your cached values and allow you to fix whatever it is you broke.

Read more about Magento
Originally published May 5, 2009