- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
CCC
March 14, 2016
CCC term in Prestashop stands for “Combine, Compress and Cache”. It can be found under Advanced Parameters -> Performance section in Prestashop admin panel. Each option in “CCC” section describes the process of optimizing a file or files to reduce load times. Using CCC allows you to improve the performance of your PrestaShop website without touching any code:

These options will dramatically boost the performance and the loading speed of your website. However, you should activate them once you are ready with the design of your store because if you activate them earlier, you might notice how the design changes you are implementing will not be displayed on your website.
Let’s review the options you can select:
-
Smart cache for CSS – CSS (Cascading Style Sheet) is used to provide formatting for a website. There are usually a lot of CSS files applied for a webpage. PrestaShop’s Smart Cache for CSS feature combines all of the CSS files into a single file in order to reduce the requests to the server each time the website is visited. Thus it will reduce the loading time of your page.
-
Smart cache for JavaScript – caching the Javascript provides faster loading functions require Javascript to run. Similar to the Smart CSS caching, Javascript files are combined into a single one in order to provide optimization.
-
Minify HTML – minifying HTML involves removing unnecessary code in the HTML so that it loads faster. It can be comments, white space, unneeded characters, etc. The minifying process simply makes the code more compact and quicker to load.
-
Compress inline JavaScript in HTML – this process is similar to minifying HTML, but in this case, it is associated with the Javascript that is being used in HTML. Like the other options, this makes files load faster.
-
Move JavaScript to the end – this option will move all the Javascript code to the end of the code for your website so that all the components can be loaded before the Javascript code.
- Apache optimization – adds directives to .htaccess file that helps to improve caching on an Apache web server.
Once you are done with all these settings, you will need to press the Save button located at the bottom of the page to save your changes:
