I've tested a fresh install of Magento 2.2.0 (no products or pages) on Page speed in production mode (with all minify, merge and bundling, build-in cache) and the maximum score I can get score higher then 80.
We are using Namecheap VPS hosting and domain. Where do you thing is the problem ?
Do you ever try speed test with empty Magento installation and if yes what scores do you get?
Which hosting has best performance for Magento 2 ?
Hi @JLHC ,
When I start working on this project all was already set up - Magento 2.2 on NameCheap.
Magento is installed from Github and there were some core file changed. I'm preparing for upgrade.
I already implemented Varnish but tests on PageSpeed shows no difference between Varnish and Build-in Cache (wich is strange for me).
Finally what is the proper optimisation for Magento? I have checked all Apache and PHP modules + settings as described in Magento documentation. If you can point me to good sources for that will be much appreciated. Thanks.
Hey!
Basically, Magento built with complex architecture. In that case, the Magento store requires a server that is able to manage all the server requirements. Let me give you a more clear idea if you go to the Magento DevDoc it has explained what server requirements are necessary to run a Magento store and look after all the hosting woes.
Sometimes, we optimized Magento stores but still face speed and performance issues. At the moment what you can do is: review this document and try to figure what is missing.
If you still have any queries please let me know or DM.
Thank You!
All the requirements from the DevDoc are checked and configured as required. The server is 4 x Cores + 4 GB RAM + SSD.
Magento theme blank.
No products store (fresh install) in production mode and build in cache- Max Score 71
Store with products (21 per page) in production mode and build in cache - Max Score - 64
No products store (fresh install) in production mode and Varnish- Max Score 80
Store with products (21 per page) in production mode and Varnish - Max Score - 71
I was expecting mach more really.
Alright, which tools are you using to test these scores? Above all, I hope you are not having a shared server, but still, it won't impact the scenario you've explained.
Ensure your server location because it also matters a lot.
For example, you have a server located in Orlando, US while testing your website performance you should look for that server location [option]. It might create a problem!
I hope you got my point. If you need any further queries or confusion feel free to ping me.
I'm using https://developers.google.com/speed/pagespeed/insights
Server is located in USA and testing location is USA.
I'm in process of upgrading the Magento version, when I'm done I'll do some more testing and post the results here.
Sure, I'll be waiting for the results.
Best of luck! (Y)
If you have any further queries, feel free to ping me.
After Upgrading and cleaning all external extensions the results are pretty the same unfortunately.
If anyone have any recommendations on Hosting & Theme for good speed results I'll be glad to share it.
Thanks.
Hi killday,
I did not see URL of your test environment in this thread but the most things in PageSpeed Insights score are not hosting related. To test if your hosting is good or not, use https://www.webpagetest.org/ and the main hosting related parameter there is time to the first byte (First Byte) which you want to be under 0.5s.
as an example, here is the speed test of the clean Magento store on our smallest server: https://www.webpagetest.org/result/200310_1Q_6a8f1d262ee5b5ed8a08488929730bc3/
First Byte there is 0.24s. This is pretty much your server speed indicator. As long as it's under 0.5s, your server is fine and you need to look for improvements somewhere else.
Our demo store is using the default Magento theme and this theme has issues with render-blocking resources in PageSpeed Insights which are causing the low score without extra optimization to the theme which is not related to the server:
so, my point is: you can not fix most of the issues reported in PageSpeed Insights by optimizing your server. The only hosting related item there is "Server response times are low (TTFB)"
1) use https://www.webpagetest.org/ to see if your hosting is acceptable (First byte is under 0.5s)
2) if this is the case, look for a fast Magento theme or customize the default theme to fix the issues reported by PageSpeed Insights
Hope this helps.