Display performance for PrestaShop webpages can be improved by using caching and compression.  PrestaShop does this by using something they call "Combine, Compress and Cache" or CCC.  These options are found in the Advanced parameters section. They involve caching CSS and JavaScript code, compiling theme code (using a feature they call "minify"), compressing inline JavaScript in HTML, and adding Apache optimization.  The following Prestashop 1.5 tutorial reviews each of these optimization methods used in the Advanced Parameters for Performance.

Setting Combine, Compress and Cache Options for Performance in PrestaShop 1.5

  1. To get to the Performance section of the Advanced Parameters for Prestashop, first login to the Administrator as an Administrator
  2. Hover over menu bar where it says ADVANCED PARAMETERS - click on PERFORMANCE when it appears in the drop-down menu.
  3. Scroll down until you see the following screen:


    We will review each term and option as we go down the list:

  4. Smart cache CSS - When you cache an object, you basically copy it and save a copy to make it easier and quicker to load.  You can do this with the Cascading Style Sheet code which is used to format your pages.  Select the option that works best for you.
  5. Smart cache for JavaScript - Caches javascript code so that it loads faster for the browser when it is selected in PrestaShop.  Select the option that works best for you.
  6. Minify HTML - Reduces the size of the code by removing any empty white space in the Smarty code.  Select to "minify" the HTML or keep it in its original form.
  7. Compress inline JavaScript in HTML - there is the occasional theme that has inline JavaScript.  Compressing the code helps to make it load faster, but you should test all functionality after using this setting.  Select to enable or leave JavaScript uncompressed.
  8. High risk HTML Compression - this option takes the HTML code and compresses to such an extent that it is no longer W3C valid.  Remember that using this may damage your standing with search engines which in turn will affect your search position.  Be careful when using this option and avoid it if you rely on your SEO standings.  Select this option with care.
  9. Apache Optimization - this option should be active if you intend to use caching and compression.  It adjusts the server to take advantage of those settings by making changes to your .htaccess file.  Select this option to enable it.

There are many options available in the CCC (Combine, Compress, and Cache) Advanced Parameters for Performance.  You need to carefully consider each option as well as your overall need to improve performance for your shop.  Make sure that you have reviewed your server and installation for performance considerations before using these options.  Sometimes,  performance may simply be lacking due to lack of memory or hard drive space on the server.  These factors should be considered BEFORE you start playing with the performance options that PrestaShop has provided.  If you do not control your server or you have little experience or expertise with it, then you should contact your support personnel and inquire how best to improve its performance if it is necessary.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.