Zen Cart Logo
Forums / General Questions / Delayed Page Loads

Delayed Page Loads

Locked

Views: 3,907

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
19 Jan 2007, 5:01 AM
#1
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Delayed Page Loads

First, i apologize for opening a new thread on lag issues. However, i have read through many existing threads and am still left without solid answers.

My store has a pretty consistent lag time across all of the pages and there is a delay when initially opening the site. For example, when i click on a category it takes some time (about 4-6 seconds) before it moves on to the target URL. Once it actully hits that next page, everything loads really quickly.

Here are a few things i have seen as suggestions and already tried:

-Turned on gZip Compression
-session.use_trans_sid is off
-register_globals is on, however. The hosting company will not allow it to be off. From what i understand, this directive can inject the scripts with additional variables, slowing things down...

Right now, i have SSL enabled for everything on the website, and this is because i have yet to go back through my code to remove some hard-coded links. Basically, it is to avoid having any users receive a warning about the ssl certificate. When i visit the site without SSL enabled, i get the same lag symptoms as i do with it enabled. Also, i recently broke some formatting in places by accident and i'm aware of these, but lets keep this post focused on the load speed (or lack thereof...)

I have the parse time and query information turned on to assist anyone tackling this issue with me.

http://www.qcookies.com/store

Thanks in advance! :smile:

19 Jan 2007, 5:07 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Delayed Page Loads

Why is your whole site setup as secure? That right there will slow things down ...

But over all there is no reason for your site to be a dog ... other than being perhaps on an overloaded server or one that is not optimized properly ...

I have sites with 1000s of products that run on pages at 0.2 - 0.5 seconds a page ...

I would speak to your hosting site about being moved to a less loaded server ...

19 Jan 2007, 5:24 AM
#3
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Delayed Page Loads

Yeah, i've been on the phone with them a number of times, and they assure me that the server isn't overloaded or crowded. So, i'm not really sure what to do now :huh:

Do you think it could help at all if i moved the database to another hosting service?

Here are two replies from the hosting company in response to my complaints:

  1. As per our engineers, since you are using an SSL connection while querying the database, it would entail a longer loading time. Unfortunately we can not transfer customers to faster servers.
  2. You reported about your website is having an issue about latency relating to the connection between your site and the database. Our Engineers was able to find what is causing the issue and fixed it. I apologize for the inconvenience that this might have caused you. We tested your site and I was able to verify that your site is now loading at its normal speed. There is no current issue as far as your MySQL and the web server at this time.

However, it is our duty to provide you with outstanding support and great products. I have optimized your database associated with your hosting account. Tables of your database are now up to date which results the queries to your database to process faster. The pages of your site is loading properly.
Please let us know if you are still experiencing delay. This database maintenance should be done at least once a month, or as often as you need, depending on the traffic of your site or loads you put into your database. Maintenance are usually done to keep the user experience at the most optimum levels.

19 Jan 2007, 5:43 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,646
Plugin Contributions:
0

Re: Delayed Page Loads

The question still remains ... Why are you running the whole site under SSL? Zen Cart is smart and knows which pages to run SSL and which to use regular HTTP. It will usually make a difference in your speed.

19 Jan 2007, 5:59 AM
#5
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Delayed Page Loads

Kim:

The question still remains ... Why are you running the whole site under SSL? Zen Cart is smart and knows which pages to run SSL and which to use regular HTTP. It will usually make a difference in your speed.

Well, i was going to start another post for this, but i have had the whole site as secure because many of the images in my template folder are not being converted to SSL by Zen Cart. Therefore when people to go log in and the site tries to be secure, and not all of it is, the user is prompted with a warning that not everything is secure on the page. So, to avoid this, i had the whole site as secure in the meantime.

I just changed the config file to let Zen Cart run SSL when it needs, and if you go to my site you should be able to see what i am talking about.

I apologize if any of this is sounding silly, and really do appreciate your help in the matter.

19 Jan 2007, 7:13 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,646
Plugin Contributions:
0

Re: Delayed Page Loads

You have some sort of "disable" right click script - if you remove that does your SSL work?

19 Jan 2007, 1:39 PM
#7
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Delayed Page Loads

Kim:

You have some sort of "disable" right click script - if you remove that does your SSL work?

No, i'm still having the same issue with images in my template's button folder not turning into SSL when its supposed to be :/ The right click script is removed now...

19 Jan 2007, 2:58 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Delayed Page Loads

Do you have a setting in your Control Panel about hotlinks protection? Is it perhaps blocking your own secure site?

20 Jan 2007, 7:33 AM
#9
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Delayed Page Loads

Ajeh:

Do you have a setting in your Control Panel about hotlinks protection? Is it perhaps blocking your own secure site?

There is nothing in my control panel referencing that, but i did contact tech support and they confirmed that there is no hotlinks protection on my site.

Do you think it is more likely that it is the PHP server or the database that is slowing the site down?

20 Jan 2007, 2:44 PM
#10
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Delayed Page Loads

First load:
Parse Time: 7.243 - Number of Queries: 55 - Query Time: 1.1321357394714
Second load:
Parse Time: 2.775 - Number of Queries: 54 - Query Time: 0.16077435176086
Third load:
Parse Time: 2.800 - Number of Queries: 54 - Query Time: 0.2032848973999

That tells us the story right there. I don't care what your Hoster says, when after the first page load it takes more than 1 sec for parse time, you know you are on a slow Server.

And why the need for a Shared SSL? This also slows things down because the Server used is slow itself. Unfortunately, in this case, even a Dedicated SSL would not help the speed but is definitely preferable over a Shared at anytime.

You also might want to pop over to http://htmlhelp.com/tools/ and have a look at correcting some of the HTML & CSS erros within your code.

20 Jan 2007, 3:00 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Delayed Page Loads

46 products ... 15 seconds ... 4 seconds ... 8 seconds ... 6 seconds ... 2 seconds ... 4 seconds ...

All on the same link ...

This is poor optimization, poor configuration of a server MySQL, poor server speed, overloaded server, etc.

There is no excuse for this ... and your secure server is off on these times ...

Might consider looking into one of our Certified Hosting sites ...

You should have 0.15 seconds to 1 second parse times at worse with your current configuration ...

Example: this site with a Control Panel redirect to a subdirectory
http://www.performance-pcs.com

First hit: 0.4 seconds
All Products (4000+ with 40,000+ attributes): 0.45 seconds

So somebody is on a slow server ... and somebody isn't ... :lamo:

20 Jan 2007, 3:24 PM
#12
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Delayed Page Loads

And I have a test site (default) setup on one of our Productions Servers which shows the following:

Parse Time: 0.798 - Number of Queries: 850 - Query Time: 0.24354920759583

That is twice as fast or faster and 15 times the number of Queries, compared to http://www.qcookies.com/store/. Might be time to start checking new Hosters after all.

22 Jan 2007, 4:54 AM
#13
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Delayed Page Loads

Thanks everyone for helping with this. I am moving to a different hosting company and will let you know the end-result. :smile:

23 Jan 2007, 6:20 AM
#14
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Delayed Page Loads

Well, that made a world of a difference. :smile:

http://www.qcookies.com

23 Jan 2007, 6:47 AM
#15
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,646
Plugin Contributions:
0

Re: Delayed Page Loads

Thanks for posting your follow up and that switching hosting cleared up the loading times.

24 Jan 2007, 11:09 PM
#16
lio avatar

lio

New Zenner

Join Date:
Nov 2006
Posts:
10
Plugin Contributions:
0

Re: Delayed Page Loads

I am having the same latency issue with my hosting. Can you tell me who you moved to that it works now. Thanks

-Emilio

25 Jan 2007, 1:07 AM
#17
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Delayed Page Loads

lio:

I am having the same latency issue with my hosting. Can you tell me who you moved to that it works now. Thanks

-Emilio

Emilio,

I've actually had them as a hosting company for a while now, and i simply moved the Zen site to my hosting package from somewhere else... the 24/7 online chat support is great and they can answer most questions, technical or not, on the spot. If they can't answer it, they create what is called a ticket and they usually respond to that within 12 hours or so.

Anyway, i use ** EDITED *** ... :smile: And if you'd be so kind as to use my link below, i'd be very thankful :D

** EDITED *** Please PM the user for additional info and do not advertise here thanks :smile:

Hope everything works out for you!

25 Jan 2007, 7:49 PM
#18
lio avatar

lio

New Zenner

Join Date:
Nov 2006
Posts:
10
Plugin Contributions:
0

Re: Delayed Page Loads

Can you email the hosting company name at [email protected]. Thanks

BTW..they weren't advertising...I was asking for the info!

25 Jan 2007, 7:55 PM
#19
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,646
Plugin Contributions:
0

Re: Delayed Page Loads

Moderators note, it is advertising when they post a link with an affilliates ID so that they get a kickback.

26 Jan 2007, 4:25 AM
#20
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Delayed Page Loads

lio:

Can you email the hosting company name at [email protected]. Thanks

BTW..they weren't advertising...I was asking for the info!

Kim:

Moderators note, it is advertising when they post a link with an affilliates ID so that they get a kickback.

Ahh... now i feel bad... i didn't even think about that... sorry :down: