hrackysdusi Posted October 22, 2014 Share Posted October 22, 2014 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 Link to comment Share on other sites More sharing options...
El Patron Posted October 22, 2014 Share Posted October 22, 2014 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); 1 Link to comment Share on other sites More sharing options...
JPresta.com Posted October 22, 2014 Share Posted October 22, 2014 p.s. It´s not about server performance, here are parameters: Yes it is, the waiting time 4,08 seconds is the time your page is being generated... As El Patron said, enable profiling to see where it spends time Link to comment Share on other sites More sharing options...
hrackysdusi Posted October 22, 2014 Author Share Posted October 22, 2014 Well, Ok, I will try to debug, if you think I will understand the result . The thing is that even backoffice is damn slow... Link to comment Share on other sites More sharing options...
El Patron Posted October 22, 2014 Share Posted October 22, 2014 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.. 1 Link to comment Share on other sites More sharing options...
hrackysdusi Posted October 22, 2014 Author Share Posted October 22, 2014 (edited) 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 .... ok, it recovered, by times are now around 1 min front office, 38s backoffice to load the page slowly recovering... but the result of debuging - true = site not responding Edited October 22, 2014 by hrackysdusi (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted October 22, 2014 Share Posted October 22, 2014 1. don't stress 2. I like you shop! 3. repeat instructions given, scroll down for info, collect set back to false Your shop is loading fine for me, though with issue as you described. 1 Link to comment Share on other sites More sharing options...
hrackysdusi Posted October 22, 2014 Author Share Posted October 22, 2014 (edited) debug.rtfThanks for kind words & support. It worked now, long list. I liked the quote "you can run your page on toaser" attaching word doc for analysis...I see what causes delays, but how to fix it? Edited October 22, 2014 by hrackysdusi (see edit history) Link to comment Share on other sites More sharing options...
JPresta.com Posted October 23, 2014 Share Posted October 23, 2014 (edited) 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 October 23, 2014 by joemartin (see edit history) Link to comment Share on other sites More sharing options...
hrackysdusi Posted October 23, 2014 Author Share Posted October 23, 2014 yes, i do everything basic ON. caching, smarty except caching for javascript is ON (even if this one is on as well, doesn´t help) Link to comment Share on other sites More sharing options...
JPresta.com Posted October 23, 2014 Share Posted October 23, 2014 Did you activate a cache system like memcache, APC, XCache or file system? If so can you try without it? Link to comment Share on other sites More sharing options...
hrackysdusi Posted October 23, 2014 Author Share Posted October 23, 2014 I have just file system caching - 2... would removing and re-adding footer/header modules help? I played around with the template, different versions... Link to comment Share on other sites More sharing options...
JPresta.com Posted October 23, 2014 Share Posted October 23, 2014 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 More sharing options...
hrackysdusi Posted October 23, 2014 Author Share Posted October 23, 2014 oh god, is it displayHeader hook? There is like 28 modules attached. no wonder it takes ages. I don´t use many of them... Link to comment Share on other sites More sharing options...
JPresta.com Posted October 23, 2014 Share Posted October 23, 2014 What you could do is also delete modules you don't use. Link to comment Share on other sites More sharing options...
hrackysdusi Posted October 23, 2014 Author Share Posted October 23, 2014 do you think that re-install and migrate data could help?:/ Link to comment Share on other sites More sharing options...
El Patron Posted October 23, 2014 Share Posted October 23, 2014 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 More sharing options...
hrackysdusi Posted October 23, 2014 Author Share Posted October 23, 2014 Ok ok, i was playing around with the modules, changing their order..and.. it's even worse. So u are right... I will do it at night. Thanks...and stay in touch ;-) Link to comment Share on other sites More sharing options...
El Patron Posted October 23, 2014 Share Posted October 23, 2014 there is a 'safe' and 'fast' way to determine if you installed non-native ps module causing issue. set these to 'yes', restest shop. if it makes no difference then for now you can rule out it being a non-native module issue. http://screencast.com/t/Q2CQPS4s tip: never delete anything... 1 Link to comment Share on other sites More sharing options...
hrackysdusi Posted October 23, 2014 Author Share Posted October 23, 2014 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 More sharing options...
El Patron Posted October 24, 2014 Share Posted October 24, 2014 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 More sharing options...
El Patron Posted October 24, 2014 Share Posted October 24, 2014 also, Mr. Martin, thanks for your valuable contributions to the forum, it's very much appreciated. I've seen your work as your customers tend to be speed freaks and find 'javapro' interesting as well...(no advice with word delete in it ) 1 Link to comment Share on other sites More sharing options...
hrackysdusi Posted October 27, 2014 Author Share Posted October 27, 2014 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 More sharing options...
El Patron Posted October 27, 2014 Share Posted October 27, 2014 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 More sharing options...
Recommended Posts