Jump to content

slow prestashop


rrd

Recommended Posts

Hi,

 

My prestashop install is very slow. It is 1.6.1.16 running on PHP7. When I switched on PHP7 it was superfast, but after a while it slowed down.

 

By the profiler I can see that initContent calls takes 10-15 sec!

I tried with different cashe and ccc settings but more or less the same result came out.

 

How can I find the bottleneck?

Link to comment
Share on other sites

Hi,

 

My prestashop install is very slow. It is 1.6.1.16 running on PHP7. When I switched on PHP7 it was superfast, but after a while it slowed down.

 

By the profiler I can see that initContent calls takes 10-15 sec!

I tried with different cashe and ccc settings but more or less the same result came out.

 

How can I find the bottleneck?

 

open file config/defines.inc.php

 

find

define('_PS_DEBUG_PROFILING_', false);

change to

define('_PS_DEBUG_PROFILING_', true);

Now visit 'slow' pages,  scroll to bottom to see the report generated by PrestaShop profiling.

 

Best to copy that into a word .doc for later.

 

note: return value to false when completed as all visitors to your shop front/back will see this data.

 

From this you can start to see where PS is slowing down.  TIP: most often when we see degrade in performance it's a result of a 3rd party module you might have  loaded that impacted the shop.  

 

To see if 3rd party module, go to back office-->advanced parms-->performance and 'disable' 3rd paty modules and overrides.  then check performance.  If improvement then you can then isoloate which 3rd party module/override is causing issue.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...