1. Log in to the PrestaShop admin panel > Advanced Parameters -> Performance menu.


   2. On the following page, set the following parameters:

CCC (Combine, Compress and Cache)

  • Smart cache for CSS – click Yes to enable Smart cache for CSS.
  • Smart cache for JavaScript – click Yes to enable Smart cache for JavaScript.
  • Apache optimization – click Yes to enable Apache optimization.



Configure Media Servers (Use Only with CCC)

  • Media server #1 - specify your CDN CNAME.

   

  3. Check if your assets are now serving on the CDN side.

Please note that you need to enable CORS origin if you use custom fonts.