Official PrestaShop Store Manager Blog

Optimize Your PrestaShop to Make It Running Better

optimization of PrestaShop performance

Website optimization is one of things that should be timely done in order to achieve the goals that were set. It is worthwhile process, since it is very important for making your PrestaShop running better and more effective.

Naturally, it is better beforehand to take care about all aspects that might come up, rather than dealing with situation when your store is filled with hundreds and even thousands of goods in your catalog.

As you may already know, the more products you add, the bigger becomes the database. Massive databases have huge number of records listed and what's more interesting, not all of them you need. Some records are simply of no use and they just take space. At first you might notice this, but when your database will be overloaded and become really slow, it will definitely become the main concern.

There are several effective ways to optimize Prestashop that you may apply to your online shop.

Store Languages

PrestaShop is multilingual and it supports more than 40 languages. However, default PrestaShop installation mainly comes with 6 languages enabled. On one side, it is great, but on the other side there might be the problem after the catalog is filled with data. All the information on goods, categories, images related to them will have not only corresponding number of database records, but you will find that you have them in 6 times more - for each enabled language you have. It is not a big deal when you append only a few new entities. However, imagine that you add 10, 000 of new products and you have by default 6 languages on. In this case you will receive 60, 000 of database records. Further, you will have more and more. And what if you add a few more PrestaShop languages and do not disable the ones you already have? You will reach the point when your store will become too heavy or there might even emerge the need to extend your hosting plan.

What is the way-out? Most likely you do not need all the PrestaShop languages offered, so it is advisable to disable unnecessary languages in your admin, in the section - Localization ->Languages. If you need lots of languages, just do not allow them to exceed the number of 5.

Image types

The more - the better principle is not always good. With PrestaShop image types it is especially true. You can add multiple images to your goods, but it is recommended to stick to 5 common image types. Even if you yourself didn’t add additional types, when you install new template, they can be added on their own.

Increasing number of image types influences your store and in case you do not want to take all free space of your FTP and slow your shop down, you need to keep an eye on number of image types you’ve got at Preferences > Images section of your back-office.

Storage system

If you have issues with PrestaShop images reflection at front-end, then most likely it is the matter of older storage system. New system of image placement allows to work with images much faster, keeping them in order. Basically, you will avoid having 100,000 pictures in the same “/img/p” folder. Instead, the pictures will be placed into corresponding subfolders of directory - “/img/p” (to each image will be assigned ID and it also will be the name of subfolders it is placed to). To switch to the new image storage system, go to the Preferences > Images tab and click the "Move images" button. Once it's finished, change the "Use the legacy image filesystem" option at the bottom of the page to "No" to use the new image system.

Make your web shop optimized to gain high-flying performance results and avoid issues with the store that is getting slow and being overloaded with too many database records.

By Maria Kvasnytska