How to Speed Up Your PrestaShop Ecommerce?

In this article we will show you some helpful choices and tips to effectively speed up your e-commerce site based on the free, open source and powerful e-commerce solution Prestashop.

Discover Prestashop and learn how to install and configure it and sell your products free and professionally in minutes.

Modules

Disconnect all unused modules from their locations (hook)

  • Prestashop 1.7: go to Improve > Design > Positions (click on the arrow of Edit and unhook each module).
  • Prestashop 1.6: go to Modules > Positions (click on the arrow of Edit and unhook each module).

Disable and uninstall

Once the previous operation has been performed, disable and uninstall all unused modules:

  • Prestashop 1.7: go to Improve > Modules > Modules & Services.
  • Prestashop 1.6: go to Modules > Modules.

Back Office and Database

Prestashop allows you to adjust some simple settings to improve the speed of your ecommerce directly from the admin panel.

Smarty: Template Compilation

Once logged in to your administration panel , use the main menu and select Advanced Settings & gt ; performances

Prestashop design is mostly based on dynamic elements and structure: each module fits into the structure of the site dynamically . Prestashop is able to detect whether there have been changes and update the various elements of the template.

This feature provides three options : Never recompile template files (faster), Recompile templates if the files have been updated (fast), Force compilation (slow) .

The last one option involves a significant slowdown of the site.

Never recompile template files: this option is to be chosen for maximum performance . Activate it when the design your e-commerce should not be changed .

Recompile templates if the files have been updated: this option is useful for who modify design or elements often. The option is activated only if the template files have been modified.

Force compilation: this option is to be used only if you are performing checks on your ecommerce .

Smarty: Cache

In computing environment, cache indicates any system that allows the temporary storage of something .

Prestashop has its native system to store files to enhance the performance of a site.

Cache enabled (YES): makes pages fastes. Activate it when the design of your e-commerce should not be changed .

Cache disabled(NO): makes pages slower. Useful for those who change the design or elements : if this option is turned off, you can not immediately see the changes made.

As for the Caching type, the choice depends on the hosting service you choose to use for your ecommerce, on the database and its optimization, the physical space that you have available, maximum number of storable files . We suggest you to ask your hosting provider.

Clear cache, comes with these options:

Never clear cache files: to be selected only if you will make changes to your web pages (images and text too).

Clear cache everytime something has been modified: he Web site cache will be deleted as soon as you make a change . In this way customers can access the most current version of your ecommerce.

CCC: Combine, Compress and Cache

In this section are grouped a number of useful tools developed to decrease the time required for a web page to be loaded completely.

However useful and powerful , these options should be activated one by one and only after checking the pages of your ecommerce as the theme you are using, if not properly developed, may not be compatible.

If you are using one of our Prestashop themes, you can activate these options without problem. The last 3 options are available for Prestashop 1.6 only.

  • Smart cache for CSS (YES): brings together in a single file, compresses and caches CSS files.
  • Smart cache for Javascript (TES): brings together in a single file, compresses and caches JS files.
  • Apache Optimization (YES): allows to further increase site performance.
  • Minify HTML (YES): removes all the white space from the HTML code.
  • Compress inline JavaScript in HTML (YES): if your theme uses some javascript code, this is compressed to make it load faster.
  • Move JavaScript to the end (YES): this action will make loading the content of the page faster and reduce the wait for users.

Always check your site after you enable this option as it will modify the .htaccess file

Ciphering

This feature has two options: the Rijndael algorithm, faster, but it will work only if your hosting has enabled mcrypt module (if necessary contact your hosting provider); BlowFish, less fast, but not need for additional modules.

Cache

At the bottom of this page you can activate the Cache module that offers several option .
It’s better asking your hosting provider to find out what is the best option for your ecommerce.

Statistics and Connections

Prestashop allows you to use its own internal system of statistics to collect all sorts of data about visitors, pages, catalog…
If you are using your statistics system, you can think to disable and uninstalling some of these modules.

Prestashop, for example, saves all incoming connections and this can cause extensive delays.
To avoid this situation, you can perform some operations directly on your database.

You have to empty the contents of 4 tables of your database
PS_CONNECTIONS_SOURCE, PS_CONNECTIONS, PS_GUEST e PS_PAGE_NOT_FOUND

We advise you to ask your hosting provider which Client has been enabled for you to do operations on your database.

Front Office

It’s better if you use beautifully designed and well coded themes.

Moreover:

  • Disable and uninstall unused modules
  • Limit the use of the modules
  • Use themes not overly feature-rich
  • Use optimized images fot categories and products

Anjali Punjab

Anjali Punjab is a freelance writer, blogger, and ghostwriter who develops high-quality content for businesses. She is also a HubSpot Inbound Marketing Certified and Google Analytics Qualified Professional.