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.

  1. To clear the Smarty cache, you need to go to "Extra options → Optimization" ("Advanced Parameters → Performance"):
  2. To clear the cache, you need to click on the button "Clear cache" ("Clear cache"):
  3. Additionally, you can disable caching and enable forced compilation settings:

Warning!

Delete file index.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:

  1. /cache/smarty/compile
  2. *cache/smarty/cache
  3. *img/tmp

You can perform these actions using filemanager or any FTPclient.

Content