Forum Moderators: coopster

Message Too Old, No Replies

Why Google shows PHP redirect as slow?

Is your PHP slow in Google WMT?

         

smallcompany

10:43 pm on Feb 15, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I wrote about this before, but haven't gotten a decent answer.

Basically, while HTML pages are shown as around 1 second to load (under Site performance in Google Webmaster Tools), PHP redirects are 5-8 seconds.

1. It does not take that long for sure.
2. If one would think it's based on Google Toolbar where people's Internet connections are slow - OK - but not everyone is using slow connection on two of my sites that get quite a bit of traffic.
3. I tried changing a code from separate line for each link into an array - no change.
4. I compared scripts with 5 links to those with over 100 links - same thing - it did not reflect any difference.

What is it?
If true, how then people that rely on PHP and databases are doing in this part?

I have a feeling that something is going wrong within Google's toolbar when about server side stuff.

Does anyone have any clue or PHP is really slow from Google's perspective, or one would think it's about coding only?

I mean, PHP is so much used and developed...

Thanks

smallcompany

3:52 am on Feb 17, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Not too many redirect users here, ha?

Anyway, I found one thing that makes sense:

A redirect link on my site looks as an internal link. Therefore Google considers all the time until the end page is fully loaded, which takes some seconds, depending on the ending page.

I thought Google could disregard stuff that is disallowed in robots.txt (as all my PHP files are), but Google's crawling has nothing to do with end user (visitor) experience.
Therefore, in order for people to have a better experience, stuff should load faster.

My problem is that all of my tracking and my own variable transfer through the site is PHP based. If I simply put exiting links as they are, I'm losing the ability to insert and re-write URLs in order to bring them to what I want - to carry variables so I can see them in reporting.

I could use what I already have - parse HTML as PHP and insert variables right within the page. But that makes site vulnerable to mistakes when about links.
It's all about link maintenance at one place. Uh...