2.13.8.10. Clearing Smarty Cache in PrestaShop
PrestaShop uses Smarty cache. Its cleaning is required if changes were made on the site, but they are not displayed.
Automatic cleaning
- To clear the Smarty cache, you need to go to "Extra options → Optimization" ("Advanced Parameters → Performance"):
- To clear the cache, you need to click on the button "Clear cache" ("Clear cache"):
- Additionally, you can disable caching and enable forced compilation settings:
Manual cleaning
Warning!
Delete fileindex.php
in directories with cache files is not allowed. In this case, the site may malfunction.
For manual cleaning, you need to delete all files except index.php
, from directories:
/cache/smarty/compile
*cache/smarty/cache
*img/tmp
You can perform these actions using filemanager or any FTPclient.