PrestaShop is a free and open source e-commerce store application for websites. Many web hosts will install it on sites for free using easy script installation tools. Once you have it installed, you may need to optimize it to keep it running fast, especially if your online store gets a lot of traffic. The following tips can help you keep your PrestaShop installation running at high performance speeds.
- Template settings – There are two settings in the template engine Smarty that you should configure for optimum performance. To set them:
- Login to your admin panel and click Preferences – Performance and then go to the Smarty section.
- For “Force compile” select “No”
- For “Cache” select “Yes”
- Enable CCC (Compress, Combine, Cache) – This tool will greatly increase page load times. Also in preferences and performance, go to CCC, and select these options:
- Use CCC for CSS
- Minify HTML…
- Keep W3C Validation
- Use Mcrypt – If you have mcrypt installed on your server, you should use it instead of PrestaShop’s custom Blowfish class.
- Select “Use Ridjnael with mcrypt lib”
- Use PrestaShop’s new directory tree – Sites with numerous images can become bogged down when all of those images are in the same directory. The new directory tree in PrestaShop 1.4 and later spreads out the image files.
- Go to Preferences – Images and then the “Move” section
- Click “Move Images” (this will take a while)
Other ways to speed up your PrestaShop installation include using a CDN (content delivery network), enabling a caching system like Memcached or Xcache, and tuning your MySQL configuration. For more details, see the PrestaShop blog.
For information on hosting, visit PrestaShop Hosting