In this guide, you will discover several hints to optimise the performance of an eCommerce site running with PrestaShop. Improving the performance of an online store is good for your natural referencing, your conversion rate, and your brand image.
1. Hosting choice
If you launch a new PrestaShop site with a pristine catalogue and not much traffic, the Web hosting and the Classic hosting (Web + Mail) will offer excellent performance. For very competitive prices, you will enjoy 100 GB SSD storage space, free SSL certificates, and a very generous resource allocation (unlimited traffic, 1.28 GB of RAM, SSH access, max 60 minutes run time, and the option of having a dedicated IP).
When your catalogue expands and your site attracts several thousand visitors a day, you will – if necessary – be able to migrate your PrestaShop site to a managed Cloud Server in a few clicks. You will also benefit from dedicated resources and a customised cache engine like memcache meaning you don’t have to worry about your server management.
Discover our Web hostings which are optimised for PrestaShop.
2. Cache and compression
Firstly, check that the gzip compression is correctly enabled on your server. This allows the server to compress files before sending them to your visitors, which will have the effect of reducing loading time for your web pages.
Secondly, enable the cache in the PrestaShop back-office from Advanced settings > Performance, and tick the box “never compile template files” when setting up the site. When enabling this option, you will still have to think about emptying the cache when you modify the theme files so that the changes are taken into account. If you have a managed Cloud Server, contact our support team to enable memcache to be enabled on your server. You can then enable the cache system Memcached instead of File system.
Thirdly, compress your images using a software program (e.g.: FileOptimizer, ImageOptim) or an online service like Imagify before uploading them onto your PrestaShop site.
The last step is to enable Google’s PageSpeed Tools on your hosting. This option is available on a Web or Classic hosting as well as on a managed Cloud Server.
3. Content Delivery Network (CDN)
If your PrestaShop site is international, it may be useful to study the possibility of enabling a CDN like CloudFlare. The role of a CDN is to cache your web pages on a large number of servers around the world, thus considerably speeding up your site’s loading times in those countries which are not near the geographical area where your site is hosted.
4. Database size
Using phpMyAdmin, list your PrestaShop site’s database tables and check the tables between 100 and 200 MB in size carefully in order to clean them. Also think about removing products you no longer need or sell.
If you come across reliability issues and your tables are too big, ask a developer to analyse the situation in order to clean or purge the base, or increase your server perfomance.
5. MySQL requests
This is a technical part. If you do not have the required expertise, you should perhaps hire a webmaster if you are worried about this.
A MySQL request which takes several seconds to run and which runs several times a second could completely block a website. In such a case, increasing the server resources will only load your hosting’s invoices and delay the inevitable: identifying and optimising where the problematic requests are.
With a Cloud Server, you can check the presence of problematic MySQL requests by looking at the server’s MySQL statistics (to find out more). In this case, the proportion of the number of MySQL requests compared to the number of hits should particularly be checked. The development tools integrated with internet browsers can also help you to identify large requests.
PrestaShop’s debugging information may also help you to identify slow SQL requests:
- Put your site into maintenance mode (Preferences > Maintenance > Disable the store).
- Edit the file /config/defines.inc.php and switch the value _PS_DEBUG_PROFILING_ to true instead of false.
- Refresh your PrestaShop store.
- At the bottom of the page, read the information about SQL requests under Stopwatch SQL. The longest SQL requests will appear at the top of the list.
6. PHP, MySQL and PrestaShop
The latest versions of MySQL, PHP and PrestaShop significantly improve the performance and reliability of PrestaShop. PHP 7 is thus up to twice as fast as PHP 5.6 and MySQL 5.6 allows the run time for MySQL requests to be significantly reduced.
We therefore recommend that you systematically use the latest versions of PHP and MySQL which are compatible with the latest version of PrestaShop.
- Change the version of PHP used
- Migrate a hosting to MySQL 5.6
- Download the latest version of PrestaShop
7. Other advice to optimise PrestaShop
- Use a single request to download the different Google WebFonts you use.
- In the Performance tab in your PrestaShop store, disable the functionalities you no longer need (e.g. client groups, characteristics, declensions, etc.).
- In the Modules and services menu, disable the modules which are no longer used, like statistics (this is the statistical data recovery module).
- If your site is only available in French, disable the other languages.
- Correct your site’s 404 errors using this site.
- Avoid useless redirects.
- Finally, don’t forget to log your store’s traffic with a free SSL certificate.
Vous aimerez aussi...
Our customer support is improving thanks to a software package created by our developers
Friday January 27th, 2023
Case study: Okam uses the Infomaniak Public Cloud to accompany SMEs in their digital transformation
Monday December 5th, 2022
Case study: Idéative develops the resilient digital ecosystem of the CHUV
Thursday October 27th, 2022
kDrive: online collaboration on Microsoft Word, Excel and PowerPoint documents
Thursday October 13th, 2022
Auch interessant...
Our customer support is improving thanks to a software package created by our developers
Friday January 27th, 2023
Case study: Okam uses the Infomaniak Public Cloud to accompany SMEs in their digital transformation
Monday December 5th, 2022
Case study: Idéative develops the resilient digital ecosystem of the CHUV
Thursday October 27th, 2022
kDrive: online collaboration on Microsoft Word, Excel and PowerPoint documents
Thursday October 13th, 2022
Case study: Nako is modernising its data backup and cybersecurity offer with Swiss Backup
Monday August 15th, 2022
The Infomaniak Email Service is evolving, centralising security and user management
Thursday August 4th, 2022
Engineering ladder: Infomaniak promotes personal fulfilment and career growth for developers
Thursday July 14th, 2022
Partner programme (B2B): become a reseller of Infomaniak services to develop your business
Friday March 25th, 2022
Case study: Axium IT creating a new IaaS offering to migrate customers to Infomaniak’s Public Cloud
Friday February 4th, 2022
Octree is accelerating the adoption of digital participatory democracy with the Infomaniak Public Cloud
Friday November 19th, 2021
Case study: Deeplink is migrating its AI platform from AWS to the Infomaniak Public Cloud
Friday October 1st, 2021
Public Cloud: Infomaniak is launching a sovereign alternative to the GAFAM group at very aggressive rates
Tuesday September 28th, 2021
Events streaming: Théâtre Confiture becomes an innovation laboratory for Infomaniak Tickets
Thursday July 8th, 2021
Webmail that’s 100% independent: Infomaniak offers a unique alternative to GAFAM
Thursday May 20th, 2021
kMeet: the local alternative to Microsoft Teams and Zoom becomes more powerful
Tuesday May 11th, 2021
Datacenter security: how does Infomaniak protect itself against the worst-case scenarios?
Thursday March 18th, 2021
Control over data: data centres are the cornerstones of Infomaniak’s independence
Friday March 5th, 2021
Infomaniak × École 42 Lausanne: free local developer training for world-class skills
Friday January 22nd, 2021
Roadmap 2021: Infomaniak accelerates the development of its independent technology
Tuesday December 8th, 2020
Engineers, whistleblowers, ethical hackers… this is how Infomaniak protects your URL data
Monday November 9th, 2020
Encrypted email address: Infomaniak supports HIN for professionals dealing with health-related issues
Monday September 7th, 2020
kMeet, which is still free of charge, gets a makeover and now features moderation and recording
Monday September 7th, 2020
Swiss Made Software: building the technological alternative in the heart of Europe
Wednesday August 26th, 2020
One single password to manage everything: Infomaniak’s continuing its simplification process
Friday August 14th, 2020
Infomaniak 2020 Roadmap: a genuine alternative to the Big Five tech companies
Friday February 21st, 2020
WordPress – global success driven by the efforts of an open-source community
Friday February 21st, 2020
9 reasons to choose Infomaniak to store your data and ensure data confidentiality
Monday February 3rd, 2020
Introducing kDrive: Switzerland’s first collaborative storage solution for SMEs and individuals
Friday December 20th, 2019
Black Friday: Infomaniak is clear – the planet is not something to haggle over
Friday November 29th, 2019
Infomaniak makes life easier for domain name owners and purchasers through bulk transfer
Monday September 23rd, 2019
Application hosting: an on-demand infrastructure to host a public service (case study)
Wednesday September 4th, 2019
How to create a Google Analytics goal for monitoring subscriptions to a newsletter
Friday August 16th, 2019
Web hosting with DIVI: free access to all WordPress themes by Elegant Themes
Thursday June 27th, 2019
Jelastic Cloud: the easy alternative to Amazon Web Services and Google Cloud Platform
Wednesday May 15th, 2019
Infomaniak makes your sites even more secure with Patchman Security Scanner
Friday February 22nd, 2019
Infomaniak launches SwissTransfer, the Swiss high-capacity alternative to WeTransfer
Friday February 15th, 2019
Speed up the page load time of your website anywhere in the world with Fast Anycast DNS
Friday February 1st, 2019
Guest Manager: the one-stop event organisation solution is now more powerful than ever before
Friday January 18th, 2019
Swiss Backup, the Swiss backup solution for Windows, Mac, Linux, iOS and Android
Thursday November 29th, 2018
Infomaniak Sync: the Android app to sync your WorkSpace calendars and contacts
Friday November 9th, 2018
DebConf18 in Taiwan: Infomaniak contributes to Open Source at the highest level
Tuesday October 16th, 2018
WorkSpace 3: the new generation of Swiss Webmail is evolving with its users
Friday September 14th, 2018
Infomaniak launches Jelastic Cloud: the Swiss PaaS platform for developers and businesses
Tuesday September 4th, 2018
ISO 27001: Infomaniak stands out for its optimal management of information security
Friday August 3rd, 2018
Invitation management service: Infomaniak launches a tool for organising your events
Friday July 27th, 2018
Create an on-line store: e-commerce sites are becoming increasingly popular
Wednesday March 21st, 2018
How to create a VPN in Switzerland with a Synology NAS, hosted with Infomaniak
Thursday March 15th, 2018
Infomaniak integrates the European General Data Protection Regulation – GDPR
Tuesday February 6th, 2018
Is your WordPress site not yet in https format? Here is how to enable it
Wednesday November 15th, 2017
5 concrete, simple recommendations for increasing your open rate – Email Marketing
Friday April 28th, 2017
Starting 4 April, your admin console interface is going to be gradually evolving
Thursday March 30th, 2017
Transfer a domain without interrupting the operation of your emails and Internet sites
Monday March 20th, 2017
The Rolex Grand Slam organiser sends its newsletters with Infomaniak: Interview
Thursday November 24th, 2016
A specialized partner of Solar Impulse, Infomaniak is actively involved in the adventure
Tuesday June 16th, 2015
Sync your contacts and calendars (even more easily) with the Infomaniak WorkSpace
Tuesday May 5th, 2015
Install Joomla, ownCloud, phpBB, and more… in just a few clicks with Infomaniak hostings
Friday January 23rd, 2015
Rencontres du Management Durable (Sustainable Management Meetings) at the CCIG
Friday June 20th, 2014
The new “Mon Site Facile” tool: easy web site creation in just a few clicks of the mouse
Friday February 28th, 2014
We also suggest...
Our customer support is improving thanks to a software package created by our developers
Friday January 27th, 2023
Case study: Okam uses the Infomaniak Public Cloud to accompany SMEs in their digital transformation
Monday December 5th, 2022
Case study: Idéative develops the resilient digital ecosystem of the CHUV
Thursday October 27th, 2022
kDrive: online collaboration on Microsoft Word, Excel and PowerPoint documents
Thursday October 13th, 2022
Case study: Nako is modernising its data backup and cybersecurity offer with Swiss Backup
Monday August 15th, 2022
The Infomaniak Email Service is evolving, centralising security and user management
Thursday August 4th, 2022
Engineering ladder: Infomaniak promotes personal fulfilment and career growth for developers
Thursday July 14th, 2022
Partner programme (B2B): become a reseller of Infomaniak services to develop your business
Friday March 25th, 2022
Case study: Axium IT creating a new IaaS offering to migrate customers to Infomaniak’s Public Cloud
Friday February 4th, 2022
Octree is accelerating the adoption of digital participatory democracy with the Infomaniak Public Cloud
Friday November 19th, 2021
Case study: Deeplink is migrating its AI platform from AWS to the Infomaniak Public Cloud
Friday October 1st, 2021
Public Cloud: Infomaniak is launching a sovereign alternative to the GAFAM group at very aggressive rates
Tuesday September 28th, 2021
Events streaming: Théâtre Confiture becomes an innovation laboratory for Infomaniak Tickets
Thursday July 8th, 2021
Webmail that’s 100% independent: Infomaniak offers a unique alternative to GAFAM
Thursday May 20th, 2021
kMeet: the local alternative to Microsoft Teams and Zoom becomes more powerful
Tuesday May 11th, 2021
Datacenter security: how does Infomaniak protect itself against the worst-case scenarios?
Thursday March 18th, 2021
Control over data: data centres are the cornerstones of Infomaniak’s independence
Friday March 5th, 2021
Infomaniak × École 42 Lausanne: free local developer training for world-class skills
Friday January 22nd, 2021
Roadmap 2021: Infomaniak accelerates the development of its independent technology
Tuesday December 8th, 2020
Engineers, whistleblowers, ethical hackers… this is how Infomaniak protects your URL data
Monday November 9th, 2020
Encrypted email address: Infomaniak supports HIN for professionals dealing with health-related issues
Monday September 7th, 2020
kMeet, which is still free of charge, gets a makeover and now features moderation and recording
Monday September 7th, 2020
Swiss Made Software: building the technological alternative in the heart of Europe
Wednesday August 26th, 2020
One single password to manage everything: Infomaniak’s continuing its simplification process
Friday August 14th, 2020
Infomaniak 2020 Roadmap: a genuine alternative to the Big Five tech companies
Friday February 21st, 2020
WordPress – global success driven by the efforts of an open-source community
Friday February 21st, 2020
9 reasons to choose Infomaniak to store your data and ensure data confidentiality
Monday February 3rd, 2020
Introducing kDrive: Switzerland’s first collaborative storage solution for SMEs and individuals
Friday December 20th, 2019
Black Friday: Infomaniak is clear – the planet is not something to haggle over
Friday November 29th, 2019
Infomaniak makes life easier for domain name owners and purchasers through bulk transfer
Monday September 23rd, 2019
Application hosting: an on-demand infrastructure to host a public service (case study)
Wednesday September 4th, 2019
How to create a Google Analytics goal for monitoring subscriptions to a newsletter
Friday August 16th, 2019
Web hosting with DIVI: free access to all WordPress themes by Elegant Themes
Thursday June 27th, 2019
Jelastic Cloud: the easy alternative to Amazon Web Services and Google Cloud Platform
Wednesday May 15th, 2019
Infomaniak makes your sites even more secure with Patchman Security Scanner
Friday February 22nd, 2019
Infomaniak launches SwissTransfer, the Swiss high-capacity alternative to WeTransfer
Friday February 15th, 2019
Speed up the page load time of your website anywhere in the world with Fast Anycast DNS
Friday February 1st, 2019
Guest Manager: the one-stop event organisation solution is now more powerful than ever before
Friday January 18th, 2019
Swiss Backup, the Swiss backup solution for Windows, Mac, Linux, iOS and Android
Thursday November 29th, 2018
Infomaniak Sync: the Android app to sync your WorkSpace calendars and contacts
Friday November 9th, 2018
DebConf18 in Taiwan: Infomaniak contributes to Open Source at the highest level
Tuesday October 16th, 2018
WorkSpace 3: the new generation of Swiss Webmail is evolving with its users
Friday September 14th, 2018
Infomaniak launches Jelastic Cloud: the Swiss PaaS platform for developers and businesses
Tuesday September 4th, 2018
ISO 27001: Infomaniak stands out for its optimal management of information security
Friday August 3rd, 2018
Invitation management service: Infomaniak launches a tool for organising your events
Friday July 27th, 2018
Create an on-line store: e-commerce sites are becoming increasingly popular
Wednesday March 21st, 2018
How to create a VPN in Switzerland with a Synology NAS, hosted with Infomaniak
Thursday March 15th, 2018
Infomaniak integrates the European General Data Protection Regulation – GDPR
Tuesday February 6th, 2018
Is your WordPress site not yet in https format? Here is how to enable it
Wednesday November 15th, 2017
5 concrete, simple recommendations for increasing your open rate – Email Marketing
Friday April 28th, 2017
Starting 4 April, your admin console interface is going to be gradually evolving
Thursday March 30th, 2017
Transfer a domain without interrupting the operation of your emails and Internet sites
Monday March 20th, 2017
The Rolex Grand Slam organiser sends its newsletters with Infomaniak: Interview
Thursday November 24th, 2016