View Single Post
  #60  
Old 05-02-2007, 01:51 PM
 
s73v3n s73v3n is offline
 

Member
  
Join Date: Oct 2004
Location: Atlantic Beach, NC
Posts: 15
 

Default Re: 4.0.x performance improvement

Thanks for the reply, and your right they are a bit large, but not large enough to cause loading delays of this magnitude. I just tried the atracking.php hack and that brought my PHP benchmarks down to around 11 seconds from 28

BEFORE

<!--<TIME all="29.1002731323" sql="1.01754832268" php="28.0827248096">-->

AFTER

<!--<TIME all="12.020252943" sql="0.134636878967" php="11.8856160641">-->

SO I'M CLOSER NOW THAN I WAS!!

To answer your question... Yes I have moved them to the file system. That was my first move.

If the images are to blame (Which I am ABSOLUTELY SURE THEY ARE NOT) I wouldn't experience the problem after downloading to cache. Also I stripped off the .CSS file and replaced it with a blank .CSS file with no image refferences, totally getting rid of all images except for product pics and default icons.

I then went to test the home page which has only 4 product pics totalling around 100K. That should load very quickly since I am 3MB broadband.

Static HTML pages such a shop_closed.html page is blazing fast for me! This tells me the problem lies somewhere in the dynamics (PHP, MYSQL). The SQL benchmarks seem ok, so that leaves PHP as the most likely source of the problem. Hacking the atracking.php file reduced the problem by roughly 50%, further supporting the problem is somewhere in my PHP files. Doesn't seem to be PHP on the server, because I maintain another x-cart store on the same server for another client and it loads nicely (even with the large images). The only difference is the problem cart is running a newer (stable) version of x-cart than than the site that runs smoothly.

This is driving me nutz but at least I am getting closer and I have plenty of beer to help ease my pain while I work this out!!

I will appreciate any further ideas you may get.

HERE ARE THE URLS TO THE TWO SITES IF YOU WANT TO LOOK

WORKING SMOOTHLY
----------------------------------------
www.joesflies.com/shop/home.php

RUNNING SUPER SLOW
----------------------------------------
www.anglers-choice.com

Thanks,
__________________
Steven Nord
Admix Commercial Arts
My site sucks because my clients' sites rock.
www.admixarts.com
Reply With Quote