Deprecated: Function ereg_replace() is deprecated in /home/magentec/public_html/administrator/components/com_virtuemart/global.php on line 137
Shopping cart (0)

Magento 2

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00
Welcome, Guest

Very slow initial load
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Very slow initial load

Very slow initial load 2 years, 11 months ago #5013

  • Marek Lis
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
After installing SM Bakery Theme my Magento website is really slow.

The initial page load was taking about 30 seconds. That's way too much!
I tried different tweaks and also removed almost all of the demo data, but it still takes 20 seconds to load every few hours.

Also this theme does not support flat Category. Is there some workaround?

Here is some info from the profiler:
frontend/default/sm_bakery/template/smartaddons/slickslider/theme1.phtml 7.3249 1 9,663,080 9,175,040
frontend/default/sm_bakery/template/catalog/product/price.phtml 4.8031 5 2,434,352 2,621,440
frontend/default/sm_bakery/template/page/html/header.phtml 3.2147 1 5,350,176 5,505,024
frontend/default/sm_bakery/template/page/2columns-right.phtml 11.9802 1 17,891,304 18,087,936

What could be the problem?

Re: Very slow initial load 2 years, 9 months ago #5054

  • Coe Moraes
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Men, really, With me happen the same with the SM_Viste, was need to found a very good certified developer to fix it. supportdesk.nu

Re: Very slow initial load 2 years, 9 months ago #5060

  • MT Anh
  • OFFLINE
    • Expired - MEC-Developer License
    • Expired - MTC-Developer License
  • Administrator
  • Posts: 664
  • Karma: 17
Dear Coe Moraes,

Please go to \skin\frontend\default\sm_viste\sm\cartpro\js\js.js and find:

- then comment the code:

function isIE6(){
var browser = navigator.appName, version = parseInt(navigator.appVersion);
if((browser == "Microsoft Internet Explorer") && (version<=6)){ return true; }
return false;
}

- and find, then comment the code:

if(isIE6()){
if (document.documentElement && !document.documentElement.scrollTop)
// IE6 +4.01 but no scrolling going on
var top =document.documentElement.scrollTop + parseInt(slidemenu_top)+"px";
else if (document.documentElement && document.documentElement.scrollTop)
// IE6 +4.01 and user has scrolled
var top =document.documentElement.scrollTop + parseInt(slidemenu_top)+"px";
else if (document.body && document.body.scrollTop)
var top =document.body.scrollTop + parseInt(slidemenu_top)+"px";

document.getElementById("options-tab").style.top = top;
//document.getElementById("fixbox").style.top = top;
}

- and find, then comment the code:

if(isIE6()){
window.onscroll = scrollEvent;
document.getElementById("options-tab").style.position = 'absolute';
}

- and find:

function callinit(){
setInterval("initcajax()",1000);
}

-> change to:

function callinit(){
//setInterval("initcajax()",1000);
initcajax();
}

Thanks!

Re: Very slow initial load 2 years, 9 months ago #5071

  • Coe Moraes
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
I dont understand, for what this?

Re: Very slow initial load 2 years, 9 months ago #5083

  • MT Anh
  • OFFLINE
    • Expired - MEC-Developer License
    • Expired - MTC-Developer License
  • Administrator
  • Posts: 664
  • Karma: 17

Re: Very slow initial load 1 year, 6 months ago #6936

  • leanhnam
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.16 seconds
Google+