Ahh! I think everybody searched for this, that “How they can boost their Prestashop Website Speed To Extreme Speeds.” Ok, I will tell you 5 magical ticks now.
I think everybody faced one big problem that their website sudden had a huge gain in loading time, requests, and page speed. Let’s say from 1-2s to 8-9s.
I bet you really want to know why?
Well, there are many possibilities of it, but I can tell you about all the key possibilities for this. After many tedious hours of examination we began to mark that we were loading many things and had many modules installed and some were not even used, but rather disabled, yet still requesting data was ready to show, but still not utilizing. This kind of such tricks we are going to mention below
1) Firstly, you should “: Disable and uninstall all unused modules.”
When you first install PrestaShop, it comes fully-equipped with more 350+ fundamental features. Not every feature is for everyone, so some of these modules will likely never be used by you and your store.
And then you barely noticed that you had both statistics in Prestashop activated and tracked everything possible in which we had all statistics enabled and also used the handy Google Analytics modules.
You have to uninstall all those modules especially the Prestashop Stats module. We know that they give you valuable info but do remember that they also took a lot of loading time. After uninstalling all modules, you would see that you loading would decrease up to 4-5s. (Remember! its enormous loading time improvement)
2) On the menu bar, the CCC section & Cache can be found under the Advanced Parameters menu, and by clicking on Performance, you see these options
In the CCC (COMBINE, COMPRESS, AND CACHE) section, under Smart cache for CSS, click YES.
- Under Minify HTML, click YES.
- Under Apache optimization, click YES. (Turn it off if you are also using CDN, or check the compatibility between CDN and Hosting provider)
Prestashop Cache ->
It’s a must doing step for you guys.
- Caching type. By default, Smarty uses a file-based caching mechanism. You can choose to have it use MySQL as the storage resource for Smarty’s output caching.
- Clear cache. Depending on how often your store changes, you might want to either never clear the cache files, or clear them every time your store is modified (either products or design).
Server End Cache ->
Your server’s cache stores static versions of your dynamic web page, in order to serve these to your customers and thus reduce server load and compiling time. Most of the time, you should first check with your web host about this setting, as it requires special settings on the server. If things would go in favor then you must turn it on for better performance.
3. Do Use The CDN
If you are thinking globally; your site has to load very swiftly from throughout across the globe. That’s why using a CDN (Content Delivery Network) is the extremely powerful way to reduce the distance between your server and your visitors.
If I would have to recommend you, then I would suggest you the Stackpath, as it’s cheap and efficient too.
4. Remove all unnecessary hooks especially from displayHome, displaytop, displayHeader & displayFooter. If you just do this step perfectly then, you would see the drastic performance change on your website.
5. For Detailed Optimisation
Now the final and the really effective way to find the exact performance bugs. You just need to put below code in your config file and then refresh your website. After scrolling till the end, you would see the code on your website footer.
Paste this code just below the /* Debug only */
(If you already have this code in define.inc.php file then change it from false into true)
Result – We felt a 90% decrease in the loading times, but it may differ with each website and the requirements of the website.