Jump to content

[SOLVED] Front-Office slow respond in multi-language store


Recommended Posts

Hi everyone,

 

I've been searching the forum and I have not seen any topic that solves the problem i have.

I'm administering an OVH dedicated server in which there are several prestashop stores that have quite fast loading time.

The problem came when we started to translated one of them into English and German (it was in spanish before).

Since these two new languages ​​were activated the store started to take too long to start loading the contents, i measured the store in GTmetrix and i could see that domain response is ​​taking a considerable time.

 

I choose to make a complete duplicate of the store on the same server to test and i can confirm that deleting the languages (not only disabling them) at the "location-> Languages" tab of back-office make the store load in half the time as before.

 

I want to know if this is normal or it has a solution so the store can be as fast as before.

 

The store is version 1.5.6.0 and you can see the production version here and the test version with languages ​​removed here.

 

Thanks and regards.

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

Hi, 

 

Really to progress and get more information you would want to enable built in PrestaShop profiling.

 

open config/defines.inc.php

 

change this to true

define('_PS_DEBUG_PROFILING_', false);

visit your slow pages, after render scroll down to see report.  Capture report for later analysis.  Note: when this is enabled 'all' visitors will see this information, so capture and set back to false.  and repeat as required.

Link to comment
Share on other sites

Thanks for the anwer,

 

I enabled DEBUG_PROFILING in the store that have the problem and this source code is what appears the first 5 seconds:

 

 

<h1>Redirection automatique dans 5 secondes</h1><a href=http://www.gtrautoparts.com/es/>http://www.gtrautoparts.com/es/</a>

 

Is there any way to skip those 5 seconds?

 

for now concentrate on getting profiling information...this is part of profiling, showing you redirects which can be important as they cause delay in page render.

Link to comment
Share on other sites

I finally solved it, i leave the solution here if anyone finds the same problem.

 

After some debuging and getting profile info as ElPatron says, i finally encounter that after importing new languages to my store the modules "best-seller" and "featured products left column" tooks ages to load.

I simply delete them from the hooks that takes some time to load (you see that info at the footer of the page with debug_profiling mode ON) and everything fast as before!

 

Thanks, regards and sorry for my english.

  • Like 2
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...