非常缓慢的prestashop

sorry if my question isn't written the proper way. Please let me know what i can do to help you help me :)

I'm working on a Prestashop website that suddently started to become very slow on everypages (front and back).

I noticed that it is the request that take long time to be processed. Once the server start sending response, it is fast.

When i go to www.mywebsite.com it is very slow for processing request. When i go to www.mywebsite.com/phpmyadmin it is fast

do you have any idea ??

prestashop 1.6.1.6

Linux my_host_name 3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64 GNU/Linux

I have the same problem some time ago with a shop when I installed an script for detect country from IP address. This script was executed in every request so until script finish the rest of the page does not load. Anyway, you can active Debug Profiling to know witch part of your page is delaying the response.

Go to /confif/defines.inc.php and set _PS_DEBUG_PROFILING_ to true. Then reload your page and you will see at the bottom a detailed info about every loaded part of your entire shop page.

Good luck.

Use a tool like http://tools.pingdom.com and http://www.bytecheck.com to check what is loading, the TTFB, wait times etc.

TTFB and WAIT times.

check you are using apache 2.4 check using php FASTCGI enable php-fmp enable smarty cache enable CCC (we do all except js as it created issues) in our case, mysqli was faster than PDO. enable Mysql slow logs for 1 sec+ use slow log to see if long DB waits, and optimise the query if possible and check index usage.

If long total page load time, I would use the above tools as well a firefox/chrom dev tools and look for long loading items. 3rd party services, ad network, analytices, social network buttons etc

would also be nice to see what "slow" is. in future post test results from tools above.