ballot Posted November 1, 2010 Share Posted November 1, 2010 here are staticsmagento : ServerGotRequest: 14:02:58.546ServerDoneResponse: 14:02:59.640xtcommerce :ServerGotRequest: 14:03:40.718ServerDoneResponse: 14:03:40.968oscommerce :ServerGotRequest: 14:04:30.359ServerDoneResponse: 14:04:30.500prestashop :ServerGotRequest: 14:07:58.500ServerDoneResponse: 14:08:00.859they all have default installion default db and these quires were without cookies Link to comment Share on other sites More sharing options...
rocky Posted November 1, 2010 Share Posted November 1, 2010 There are many performance improvements in PrestaShop v1.4. You can use InnoDB instead of MySAM, use mcrypt instead of Blowfish, enable "Combine, Compress, Cache" for CSS and Javascript, and add GZIP compression and other optimisations to the .htaccess file. That will make a difference in the speed. Link to comment Share on other sites More sharing options...
ballot Posted November 2, 2010 Author Share Posted November 2, 2010 There are many performance improvements in PrestaShop v1.4. You can use InnoDB instead of MySAM, use mcrypt instead of Blowfish, enable "Combine, Compress, Cache" for CSS and Javascript, and add GZIP compression and other optimisations to the .htaccess file. That will make a difference in the speed. as first my main problem is execution time so its not about js css or gzipi edited many files i cant just copy and paste 1.4 version filesi use categoriesblock - cachei have converted myisam to innodb but have no idea how to focus to mcrypt from blowfish,before innodb and categories cacheServerGotRequest: 14:07:58.500ServerDoneResponse: 14:08:00.859after using innodb and categories cachestill execution takes takes 2.5 - 3 seconds ServerGotRequest: 10:15:57.500ServerDoneResponse: 10:15:59.578ServerGotRequest: 10:15:52.000ServerDoneResponse: 10:15:54.093 Link to comment Share on other sites More sharing options...
ballot Posted November 2, 2010 Author Share Posted November 2, 2010 this is the unmodified index.php <?php include(dirname(__FILE__).'/config/config.inc.php'); if(intval(Configuration::get('PS_REWRITING_SETTINGS')) === 1) $rewrited_url = __PS_BASE_URI__; include(dirname(__FILE__).'/header.php'); $smarty->assign('HOOK_HOME', Module::hookExec('home')); $smarty->display(_PS_THEME_DIR_.'index.tpl'); include(dirname(__FILE__).'/footer.php'); ?> i edited it to learn the execution time <?php $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; include(dirname(__FILE__).'/config/config.inc.php'); if(intval(Configuration::get('PS_REWRITING_SETTINGS')) === 1) $rewrited_url = __PS_BASE_URI__; include(dirname(__FILE__).'/header.php'); $smarty->assign('HOOK_HOME', Module::hookExec('home')); $smarty->display(_PS_THEME_DIR_.'index.tpl'); include(dirname(__FILE__).'/footer.php'); $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; $endtime = $mtime; $totaltime = ($endtime - $starttime); echo "This page was created in ".substr($totaltime,0,4)." seconds"; ?> and the results at the footer : This page was created in 2.54 secondsThis page was created in 2.18 secondsThis page was created in 2.92 secondsThis page was created in 2.77 secondsThis page was created in 2.39 seconds Link to comment Share on other sites More sharing options...
rocky Posted November 2, 2010 Share Posted November 2, 2010 Try disabling modules one at a time to see what impact they are having on the load time. Link to comment Share on other sites More sharing options...
ballot Posted November 2, 2010 Author Share Posted November 2, 2010 Try disabling modules one at a time to see what impact they are having on the load time. disable modules or positions? Link to comment Share on other sites More sharing options...
rocky Posted November 2, 2010 Share Posted November 2, 2010 Modules. Click the tick icon on each module to disable the module without uninstalling it. Link to comment Share on other sites More sharing options...
ballot Posted November 2, 2010 Author Share Posted November 2, 2010 Modules. Click the tick icon on each module to disable the module without uninstalling it. ahh now its decreased to 0.8 seconds i have to find which increases the page load time exaclty i suspect about top menuwhen i disableTop horizontal menu v1.3Menu v2.6.4editorial menu i earn 1 - 1.5 seconds Link to comment Share on other sites More sharing options...
ballot Posted November 2, 2010 Author Share Posted November 2, 2010 Menu v2.6.4 http://www.prestashop.com/forums/viewthread/58775/third_party_modules/module_menu_horizontal_v2_dot_6_free_is the most thing increases loading page timeso when i finish the categories i will add it to header i think like a cache Link to comment Share on other sites More sharing options...
ballot Posted November 2, 2010 Author Share Posted November 2, 2010 here is the solution decrease the page loading time & and for cachehttp://www.prestashop.com/forums/viewthread/76531/third_party_modules/mod_julien_breux_menu_cache Link to comment Share on other sites More sharing options...
Recommended Posts