- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Prestashop 1.5.x. How to clear Smarty cache
June 25, 2013
In this tutorial we will show you how to clear Smarty cache in PrestaShop.
Prestashop 1.5.x. How to clear Smarty cache
PrestaShop uses Smarty language for its templating system. A lot of the theme file contents are kept in Smarty cache folder. Sometimes, when you are editing files or enabling or disabling modules, the content of your website does not show the latest changes. This is because PrestaShop is still showing the cached content and not the latest changes made by you.
Clear Cache in Prestashop admin panel
1. Open Prestashop admin panel and go to Advanced Parameters > Performance
2. Set Force compile to Yes and save changes.
3. Go to your front-office and refresh the store page.
Clear cache manually
For manual cache clear you need to access your Prestashop installation directory and delete the content of the following folders:
- cache/smarty/compile
- cache/smarty/cache
- img/tmp
Delete all the files in the folders, except of index.php.
Reload your website in browser to take a look at the changes you have made.
That’s it! You should see the changes you made after cache is cleared.
Feel free to check the detailed video tutorial below: