Jump to content

Prestashop 8.1 Categories take over 30 seconds to load


stevell

Recommended Posts

I have upgraded from 1.78 to 8.1 but the categories are very slow to load. Over 30 seconds. If I turn on profiling it fixes the issue and the same page loads in 1245ms. 

Debug mode shows no errors.

Has anyone seen this issue or have any suggestions.

https://www.downunderwear.co.nz

https://www.downunderwear.co.nz/brand/berlei 

Regards

Steve

Edited by stevell (see edit history)
Link to comment
Share on other sites

30 minutes ago, ComGrafPL said:

Check on Gtmetrix. Have you changed PHP version after update? Cache in VAR folder cleared?

Also whats your php setting:

  • memory_limit
  • max_execution_time
  • max_input_time
  • max_input_var

Gtmetrix times out on the category pages, so does lighthouse and PageSpeed insights.

I changed the PHP version to 8.1 from 7.4. The Cache folder has been cleared a few times.

  • memory_limit 2042
  • max_execution_time 300
  • max_input_time 300
  • max_input_var 10000

The server is CloudLinux with Litespeed although the Lightspeed Prestashop plugin is not compatible with Prestashop 8+ so not installed.

Link to comment
Share on other sites

34 minutes ago, Daresh said:

Try to enable profiling in the config/defines.inc.php file:

define('_PS_DEBUG_PROFILING_', true);

 

That appears to show the same profiling page as turning it on in the Advanced Parameters - Performance tab.

If I turn on profiling it fixes the issue and the same page loads in 1245ms (was 34 seconds)so it is unhelpful. I don't understand why turning on profiling fixes the issue and reduces page load time by over 30 seconds.

Link to comment
Share on other sites

  • 3 weeks later...

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...