cancel
Showing results for 
Search instead for 
Did you mean: 

Improve the speed on our dedicated server of m2

Highlighted
Occasional Contributor

Improve the speed on our dedicated server of m2

We run a multistore magento 2 on test.computer.nl

Somehow the speed and performance of the site is very unstable.

Sometimes the pageload is up to 25 seconds. 

 

Its running on a dedicated high performance machine at a UK datacenter.

 

After reading some guides we already did the following:

 

  • Enable Flat Categories and Products
  • Merge CSS and JS Files
  • Caching is on
  • Image Optimization
  • Enabled Compression

what can we do to fix this, we have a developement team working on it, but the loadtimes keep slow.

3 REPLIES
Frequent Contributor

Re: Improve the speed on our dedicated server of m2

Hi there,
Looks like your server is not optimized for Magento and if this is not done, optimization to code and Magento configuration will not help with performance.

Do you run nGinx / Varnish / Percona setup on your server? We found such setup to be the most stable with the best performance.

 

Anton Pachkine @ magento2.hosting : Magento Managed Package. Get your e-commerce health checkup at http://ecommerce.fitness
Occasional Contributor

Re: Improve the speed on our dedicated server of m2

I think you have some of the ideas from Finestshops below -- using some form of Varnish and other caching concepts along with cloud hosting seem to help most of our M2 sites work fast across the world. Let me know if you would like to learn more. 

Sonal

M1 Certified

Re: Improve the speed on our dedicated server of m2

First of all you need to find out whether it is your server that is the problem or M2.

 

Do this:

 

1. Install a fresh copy of M2 (the same version) on the same server and compare its performance to the M2 site you already have there.

2. If a fresh copy of M2 runs faster than your server is OK. Go to step 3. If a fresh copy of M2 runs as slow as the M2 site then there is something wrong with your server settings. Get a hold of a system administrator and check your software. Maybe MySQL needs optimization.
3. Now we know that M2 is the problem. Don't use caching to hide the slow performance problem. Cache != Performance. Fire up Magento 2 profiler and analyze its trace. See what code takes most time. Do 3rd party extension audit. Disable them one by one and benchmark speed. Try a different theme and benchmark. Post your results.