Tag Archives: clear cache x-cart

Clear template cache in x-cart

Have you been making changing into a smarty template file (within x-cart and perhaps independently as well) for long and the changes would not come up at all? Who could tell better how frustrating this can be!

The simplest and most effective way to clear template cache in x-cart is to call cleanup.php file which is placed at the root directory of x-cart installation. So if your installation is inside public_html directory (have nothing to do with directory actually) and your website address is http://www.devarticles.in just call http://www.devarticles.in/cleanup.php and all your template cache will be cleared with a message something like this:

The compiled templates cache (“templates_c” directory) has been cleaned up.

(Thanks to Steve for his post)