why so slow?

View: New views
16 Messages — Rating Filter:   Alert me  

why so slow?

by Meline Martirossian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you think of why my site loads so slowly?

http://www.squareinch.net/home.php

Re: why so slow?

by Frank Arensmeier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bad day?

/frank

1 nov 2006 kl. 09.55 skrev Mel:

> Could you think of why my site loads so slowly?
>
> http://www.squareinch.net/home.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: why so slow?

by Robert Cummings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2006-11-01 at 00:55 -0800, Mel wrote:
> Could you think of why my site loads so slowly?
>
> http://www.squareinch.net/home.php

That's a bit like asking us to read your mind. We'd only be guessing
since we can't see your code and you haven't told us what your site
does.

What I can say is that it's probably not reverse DNS since my first page
load was about 8 seconds, my second was about .5 seconds, and my third
was about 6 seconds.

Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: why so slow?

by Meline Martirossian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So do you mean that's it is ok and not slow?

On Nov 1, 2006, at 1:09 AM, Robert Cummings wrote:

> On Wed, 2006-11-01 at 00:55 -0800, Mel wrote:
>> Could you think of why my site loads so slowly?
>>
>> http://www.squareinch.net/home.php
>
> That's a bit like asking us to read your mind. We'd only be guessing
> since we can't see your code and you haven't told us what your site
> does.
>
> What I can say is that it's probably not reverse DNS since my first  
> page
> load was about 8 seconds, my second was about .5 seconds, and my third
> was about 6 seconds.
>
> Cheers,
> Rob.
> --
> .------------------------------------------------------------.
> | InterJinn Application Framework - http://www.interjinn.com |
> :------------------------------------------------------------:
> | An application and templating framework for PHP. Boasting  |
> | a powerful, scalable system for accessing system services  |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for       |
> | creating re-usable components quickly and easily.          |
> `------------------------------------------------------------'
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: why so slow?

by Meline Martirossian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is my first php site and I have no idea where to look for a reason!

On Nov 1, 2006, at 1:07 AM, Frank Arensmeier wrote:

> Bad day?
>
> /frank
>
> 1 nov 2006 kl. 09.55 skrev Mel:
>
>> Could you think of why my site loads so slowly?
>>
>> http://www.squareinch.net/home.php
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: why so slow?

by Frank Arensmeier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe it's the 18 k of JavaScript from Google that slows your page  
down? Why not load this script locally from your server?

/frank

1 nov 2006 kl. 10.26 skrev Mel:

> So do you mean that's it is ok and not slow?
>
> On Nov 1, 2006, at 1:09 AM, Robert Cummings wrote:
>
>> On Wed, 2006-11-01 at 00:55 -0800, Mel wrote:
>>> Could you think of why my site loads so slowly?
>>>
>>> http://www.squareinch.net/home.php
>>
>> That's a bit like asking us to read your mind. We'd only be guessing
>> since we can't see your code and you haven't told us what your site
>> does.
>>
>> What I can say is that it's probably not reverse DNS since my  
>> first page
>> load was about 8 seconds, my second was about .5 seconds, and my  
>> third
>> was about 6 seconds.
>>
>> Cheers,
>> Rob.
>> --
>> .------------------------------------------------------------.
>> | InterJinn Application Framework - http://www.interjinn.com |
>> :------------------------------------------------------------:
>> | An application and templating framework for PHP. Boasting  |
>> | a powerful, scalable system for accessing system services  |
>> | such as forms, properties, sessions, and caches. InterJinn |
>> | also provides an extremely flexible architecture for       |
>> | creating re-usable components quickly and easily.          |
>> `------------------------------------------------------------'
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: why so slow?

by Robert Cummings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2006-11-01 at 01:26 -0800, Mel wrote:
> So do you mean that's it is ok and not slow?

I'm saying we can't ascertain why it's so slow since we don't have
enough information.

Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: why so slow?

by Frank Arensmeier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My suggestion: stripp out the JS from Google. Test you page again.  
Should the page load as slowly as before, it might have to do with  
PHP. Then, give us more details about your script)

/frank

1 nov 2006 kl. 10.53 skrev Robert Cummings:

> On Wed, 2006-11-01 at 01:26 -0800, Mel wrote:
>> So do you mean that's it is ok and not slow?
>
> I'm saying we can't ascertain why it's so slow since we don't have
> enough information.
>
> Cheers,
> Rob.
> --
> .------------------------------------------------------------.
> | InterJinn Application Framework - http://www.interjinn.com |
> :------------------------------------------------------------:
> | An application and templating framework for PHP. Boasting  |
> | a powerful, scalable system for accessing system services  |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for       |
> | creating re-usable components quickly and easily.          |
> `------------------------------------------------------------'
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: why so slow?

by Meline Martirossian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I took the Google stuff out. I can't tell if it's faster now.
I don't think it's very consistent. Sometimes it loads pretty fast  
and sometimes it gets stuck in the right corner!
I don't think I have seen this happen with any other site!

On Nov 1, 2006, at 2:12 AM, Frank Arensmeier wrote:

> My suggestion: stripp out the JS from Google. Test you page again.  
> Should the page load as slowly as before, it might have to do with  
> PHP. Then, give us more details about your script)
>
> /frank
>
> 1 nov 2006 kl. 10.53 skrev Robert Cummings:
>
>> On Wed, 2006-11-01 at 01:26 -0800, Mel wrote:
>>> So do you mean that's it is ok and not slow?
>>
>> I'm saying we can't ascertain why it's so slow since we don't have
>> enough information.
>>
>> Cheers,
>> Rob.
>> --
>> .------------------------------------------------------------.
>> | InterJinn Application Framework - http://www.interjinn.com |
>> :------------------------------------------------------------:
>> | An application and templating framework for PHP. Boasting  |
>> | a powerful, scalable system for accessing system services  |
>> | such as forms, properties, sessions, and caches. InterJinn |
>> | also provides an extremely flexible architecture for       |
>> | creating re-usable components quickly and easily.          |
>> `------------------------------------------------------------'
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: why so slow?

by Jürgen Wind :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Frank Arensmeier wrote:
My suggestion: stripp out the JS from Google. Test you page again.  
Should the page load as slowly as before, it might have to do with  
PHP. Then, give us more details about your script)

/frank

1 nov 2006 kl. 10.53 skrev Robert Cummings:

> On Wed, 2006-11-01 at 01:26 -0800, Mel wrote:
>> So do you mean that's it is ok and not slow?
>
> I'm saying we can't ascertain why it's so slow since we don't have
> enough information.
>
> Cheers,
> Rob.
> --
> .------------------------------------------------------------.
> | InterJinn Application Framework - http://www.interjinn.com |
> :------------------------------------------------------------:
> | An application and templating framework for PHP. Boasting  |
> | a powerful, scalable system for accessing system services  |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for       |
> | creating re-usable components quickly and easily.          |
> `------------------------------------------------------------'
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
many sites (including nabble.com, which i use to read and post here)
load faster since i have "127.0.0.1 www.google-analytics.com" in my hosts file
to block that urchin.js spyware.  

Re: why so slow?

by Frank Arensmeier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Why do you have html tags before your doctype declaration?

Anyway, I am not sure if your problem has to do with PHP after all.  
Again, if you think that it is related to PHP, show us some code.  
There are still other things to consider (server, external files, CSS  
- neither of those things are necessarily related to PHP).

/frank


1 nov 2006 kl. 11.27 skrev Mel:

> I took the Google stuff out. I can't tell if it's faster now.
> I don't think it's very consistent. Sometimes it loads pretty fast  
> and sometimes it gets stuck in the right corner!
> I don't think I have seen this happen with any other site!
>
> On Nov 1, 2006, at 2:12 AM, Frank Arensmeier wrote:
>
>> My suggestion: stripp out the JS from Google. Test you page again.  
>> Should the page load as slowly as before, it might have to do with  
>> PHP. Then, give us more details about your script)
>>
>> /frank
>>
>> 1 nov 2006 kl. 10.53 skrev Robert Cummings:
>>
>>> On Wed, 2006-11-01 at 01:26 -0800, Mel wrote:
>>>> So do you mean that's it is ok and not slow?
>>>
>>> I'm saying we can't ascertain why it's so slow since we don't have
>>> enough information.
>>>
>>> Cheers,
>>> Rob.
>>> --
>>> .------------------------------------------------------------.
>>> | InterJinn Application Framework - http://www.interjinn.com |
>>> :------------------------------------------------------------:
>>> | An application and templating framework for PHP. Boasting  |
>>> | a powerful, scalable system for accessing system services  |
>>> | such as forms, properties, sessions, and caches. InterJinn |
>>> | also provides an extremely flexible architecture for       |
>>> | creating re-usable components quickly and easily.          |
>>> `------------------------------------------------------------'
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [BULK] [PHP] why so slow?

by clive-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mel wrote:
> Could you think of why my site loads so slowly?
>
> http://www.squareinch.net/home.php

perhaps its the server that its hosted on, is it a dedicated
machine,shared or a virtual private server.
It could also be the bandwidth the server has,
It could be the route taken to get to the machine.
It could even be the weather (If anyone knows anything about a certain
ISP in South Africa you'll know what I mean)

In poor old bandwidth starved S.Africa your page takes 10 - 14 seconds
to load (used the hippopotamus counting technique i.e 1 hippopotamus, 2
hippopotamus etc, yes yes very African I know), then again the weather
affects our bandwidth and then again google.com loads with a second so I
reckon its something else.

Can you check the server loads and perhaps find out what sort of
connection the box has?

Clive

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [BULK] [PHP] why so slow?

by Meline Martirossian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

:)
I know it is a dedicated server on westhost.com
I wouldn't know how to check for the kind of connection!
thanks, and all the best...

On Nov 1, 2006, at 3:10 AM, clive wrote:

> Mel wrote:
>> Could you think of why my site loads so slowly?
>> http://www.squareinch.net/home.php
>
> perhaps its the server that its hosted on, is it a dedicated  
> machine,shared or a virtual private server.
> It could also be the bandwidth the server has,
> It could be the route taken to get to the machine.
> It could even be the weather (If anyone knows anything about a  
> certain ISP in South Africa you'll know what I mean)
>
> In poor old bandwidth starved S.Africa your page takes 10 - 14  
> seconds to load (used the hippopotamus counting technique i.e 1  
> hippopotamus, 2 hippopotamus etc, yes yes very African I know),  
> then again the weather affects our bandwidth and then again  
> google.com loads with a second so I reckon its something else.
>
> Can you check the server loads and perhaps find out what sort of  
> connection the box has?
>
> Clive
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: [BULK] [PHP] why so slow?

by Dave Goodchild :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The guys are right, there are many variables that could be affecting this.
However, get rid of those tags before <body> and clean up your code - it
does not validate as html 4.01. The DOCTYPE should be the very first thing
in the page. Once you have amended these, revalidate (validator.w3c.org).
Trust me, these issues will be much easier to solve given clean code and
points of error are easier to locate. Reload when the page is clean. It may
not be the html, but it is better to start on the right foot.

Re: Re: [BULK] [PHP] why so slow?

by Meline Martirossian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok, thank you. I am on it!

On Nov 1, 2006, at 3:24 AM, Dave Goodchild wrote:

> The guys are right, there are many variables that could be  
> affecting this.
> However, get rid of those tags before <body> and clean up your code  
> - it
> does not validate as html 4.01. The DOCTYPE should be the very  
> first thing
> in the page. Once you have amended these, revalidate  
> (validator.w3c.org).
> Trust me, these issues will be much easier to solve given clean  
> code and
> points of error are easier to locate. Reload when the page is  
> clean. It may
> not be the html, but it is better to start on the right foot.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: why so slow?

by Richard Lynch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, November 1, 2006 2:55 am, Mel wrote:
> Could you think of why my site loads so slowly?
>
> http://www.squareinch.net/home.php

Install Firefox and an HTML Validator.

Look at your "View Source"

Your <!doctype isn't even the first line! :-)

That urchintracker() stuff will probably kill performance too, and I
doubt they provide anything you can't get from Analog or Webalizer or
just rolling your own PHP (or some combo of all that).

Ten successive tries of:
time wget http://www.squareinch.net/home.php
were all over the map in timings.

From respectable 0.1s to 10s with no discernible pattern.

I'd suggest you try timing it with a static HTML file (.htm) and no
PHP in the picture to eliminate PHP as the culprit.

Then you'd take this off to the Apache list, after searching their
bugs database for something similar, assuming your header is correct:
Server: Apache/1.3.27 (Unix)  (Red-Hat/Linux) PHP/5.1.2

Or, if it is PHP 5.1.2 which is messing you up, then try
upgrading/downgrading to see if that helps.

--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php