How to Combine, Compress, and Cache for performance in PrestaShop 1.5

Our last article in the Advanced Parameters course went over disabling optional features in PrestaShop 1.5. This article explains how to compress, combine, and cache data so that you can increase the performance of your site.

Combine, Compress, and Cache data in PrestaShop

  1. Log into your PrestaShop 1.5 dashboard.
  2. Using the top menu bar, hover over the Advanced Parameters tab and click on the Performance option from the menu.
  3. This brings you to the Performance page. The third section for Performance is entitled Combine, Compress, and Cache. The settings here allow you to choose various places to compress data and store it in a memory (known as caching) to reduce load time for your store.

    Smart Cache for CSS CSS code helps format your pages. Caching will make a copy to use instead of always runningthe code. As this code is not changed often, caching can be a bit of a help without compromising the site.
    Smart Cache for JavaScriptMuch like caching for CSS, the javascript will be saved in memory to make it faster.
    Minify HTMLMinifying code means reducing file size by eliminating white space, line breaks, etc.
    Compress inline JavaScript in HTMLThis compresses Javascript that is located within the file itself. Most javascript, however, is stored in separate files.
    High risk HTML CompressionYour HTML files are compressed for maximum speed. This does break the W3C validation of the code. The tradeoff for the speed is the search engines may penalize your site a bit for not being w3C compliant.
    Apache OptimizationAdds htaccess code to help with your compression and caching.


  4. After selecting your desired settings, click on the green Save button at the upper right corner of the screen to save them.

    Be sure to test the different settings and see which ones benefit your site and which ones do not. Not all sites benefit from the same settings, so choose the ones that are right for you.

    Now that you understand the Combine, Compress, and Cache section, be sure to check our next article on Media Servers.

0 thoughts on “How to Combine, Compress, and Cache for performance in PrestaShop 1.5

    1. Hello NATHAN,

      Thank you for your question. In the Official PrestaShop Admin guide it states “PrestaShop works well with Nginx, but is not able to generate the correct redirection rules for its Friendly URLs.

      Then it says you must add some code to your nginx.conf, see the code on Nginx friendly URLs.

      If you have any further questions, feel free to post them below.
      Thank you,


Was this article helpful? Join the conversation!