Jump to content

First Byte Time - 5s - how to improve?


Recommended Posts

Hi guys, I see here so many "tips" for site improvement, but can not find anything relevant on first byte time... It takes like 5s to start -and than site pops up immediatelly.

 

I just launched www.hrackysdusi.cz, switched on all the caching stuff... No idea what is the site waiting for(see attachment)

 

Thanks for tips!

 

p.s. It´s not about server performance, here are parameters:

 

Max. number of PHP processes (more about) * 10
Space for database 2 GB
Space for e-mails 10 GB
PHP memory_limit * 256 MB
PHP upload_max_filesize 128 MB
PHP post_max_size 128 MB
 

post-748269-0-74927700-1413986177_thumb.png

Link to comment
Share on other sites

bo-->advanced parms-->performance

 

enable CCC for javascript...this will help...

 

to see timings from PrestaShop

 

open file config/defines.inc.php and set this to true, capture data and set back to false, as everyone will see this data

define('_PS_DEBUG_PROFILING_', false);
  • Like 1
Link to comment
Share on other sites

Well, Ok, I will try to debug, if you think I will understand the result ;). The thing is that even backoffice is damn slow...

 

if both slow, then I suspect more hosting environment issue...

 

and don't try..jajajaja..do!  this will be good tool to help manage your shop in the future..

  • Like 1
Link to comment
Share on other sites

Well I tried to do so... website kept loading and nothing showed. and now, i put it back to false and it´s still down  :o.... ok, it recovered, by times are now around 1 min front office, 38s backoffice to load the page  :angry:

 

slowly recovering... but the result of debuging - true = site not responding

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

Load time: 10398 ms
You\'d better run your shop on a toaster
Execution	Load time (ms)
config          1786
constructor     0
init            170
checkAccess     0
setMedia        37
postProcess     0
initHeader      0
initContent     5132
initFooter      2198
display	        1076
Hook processing: 8092 ms / 13.73 Mb
51 methods called in 40 modules
Hook	Processing
displayHeader           6.79 Mb in 3827 ms
displayFooter           1.09 Mb in 2190 ms
displayHome             3.64 Mb in 889 ms
displayTop              1.38 Mb in 414 ms
displayFooterBanner     0.22 Mb in 286 ms
displayNav              0.13 Mb in 205 ms
displayTopColumn        0.35 Mb in 193 ms
displayFooterNav        0.13 Mb in 88 ms
moduleRoutes            0.00 Mb in 0 ms 

Well... everything looks slow :-(

Did you activate prestashop cache (smarty)?

Read this and tell us: http://www.prestashop.com/en/top-tips

 

In header you may have a slow module too but let's start with the base first.

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

I have just file system caching - 2... would removing and re-adding footer/header modules help? I played around with the template, different versions...

Try without this cache system (sometimes it's faster without it)

Try to see which module is slow in header (disable module attached to the hook one after one and see if it's better)

Link to comment
Share on other sites

do you think that re-install and migrate data could help?:/

 

no

 

also in my honest opinion, don't delete unused modules...

 

you have profiling data, if you can not isoloate from  this issue.

 

then you can 'one by one' disable modules in long hooks and see if makes difference...i.e. isolate  problem module,  if in fact that is the issue.

Link to comment
Share on other sites

U are great guys! It helped. I found out, that major problems (in back office as well as front office) is caused by my uhu template config module. Removing other non-native did not make such a big difference. But when I disabled that... can I unhook this from header? 

Link to comment
Share on other sites

U are great guys! It helped. I found out, that major problems (in back office as well as front office) is caused by my uhu template config module. Removing other non-native did not make such a big difference. But when I disabled that... can I unhook this from header? 

 

woot woot!

 

once disabled it will not use hook.  If you uninstall then you will not see it hooked.  Hopefully you can follow up with developer, or create new topic on module (that gets their attention).  gosh great to hear!..very happy here in Kansas City!

Link to comment
Share on other sites

Hi there, so once again thanks for your support... It helped me to identify the root cause. I disabled most of the modules and it gets better. However, performance is still not sufficient to me, so I spam template supplier. So you can close this issue.

 

I would like to raise one more thing - at my 1.6.0.9 version I can not upload files. It uploads, but than it´s not there. I´ve seen some tips in forum, but it did not help... http://www.prestashop.com/forums/topic/324581-filemanager-not-uploading-anything/

Any other tips?

Link to comment
Share on other sites

Hi there, so once again thanks for your support... It helped me to identify the root cause. I dibssabled most of the modules and it gets better. However, performance is still not sufficient to me, so I spam template supplier. So you can close this issue.

 

I would like to raise one more thing - at my 1.6.0.9 version I can not upload files. It uploads, but than it´s not there. I´ve seen some tips in forum, but it did not help... http://www.prestashop.com/forums/topic/324581-filemanager-not-uploading-anything/

Any other tips?

 

best advice, open new topic for best community exposure.

Link to comment
Share on other sites

×
×
  • Create New...