PrestaShop Cache Management
Proper cache management can significantly improve your store’s speed.
Clear Cache
Back Office → Advanced Parameters → Performance
Click Clear Cache whenever:
- You install or update a module.
- You change a theme template (.tpl).
- You modify CSS or JavaScript.
- You make code changes.
Recommended Production Settings
Back Office → Advanced Parameters → Performance
- Debug Mode: Disabled
- Template Compilation: Never recompile template files
- Cache: Enabled
- CCC (Combine, Compress & Cache): Enabled
- Smart cache for CSS: Enabled
- Smart cache for JavaScript: Enabled
Development Settings
When developing modules or themes:
- Debug Mode: Enabled
- Template Compilation: Recompile templates if files have been updated
- Cache: Disabled
Manually Clear Cache via FTP
Delete the contents of:
/var/cache/prod/
or for development:
/var/cache/dev/
Do not delete the folders themselves—only their contents.
Additional Speed Tips
- Use PHP OPcache.
- Use Redis or Memcached if your hosting supports them.
- Enable GZIP compression in your web server.
- Optimize and compress images.
- Disable unused modules.
- Use a CDN for global traffic.
Check Store Performance
Useful areas to review:
- Modules → Module Manager (disable unused modules)
- Advanced Parameters → Performance
- Design → Theme & Logo (optimize theme assets)
For a PrestaShop store with many products and modules, enabling OPcache and Redis often provides the biggest performance gains after basic caching is configured.
