Performance test for my site (advice)

Hi,

I stumbled across this site by accident when reading a few forum posts about website performance. By running the test and making the changes suggested my page load time has gone up drasticaly - so thank you! :slight_smile:
I am now addicted though! and really want to get the speed up even more although much of what is advised is now beyond my own knowledge. Could anyone have a look at my results and see if there is anything else that i could do easily to improve performance?

Many thanks

Paul

http://www.pjnsports.co.uk

http://www.webpagetest.org/result/110313_TP_b742473c00fcc170bf225824231c8f5d/1/details/
http://www.webpagetest.org/result/110313_TP_b742473c00fcc170bf225824231c8f5d/1/performance_optimization/

in order of importance

  1. Enable keep alive!!! This should be your first step!!!
  2. Remove the 2 redirects when visiting http://www.pjnsports.co.uk/
  3. Try to move your javascripts to just before the tag. This may require someone experienced in javascript to handle.
  4. Split image urls into 2 hostnames. Since you have many of them, its better if they download in parallel.

Hi Sajal,

Thanks a lot for your feedback but i have a couple of questions about the things you have said:

  1. I am on shared hosting can i enable keep alive?
  2. The 2 redirects are better for seo as they redirect non www to www and pjnsports.co.uk/index.php to pjnsports.co.uk so that my “juice” is not split across 3 different homepages. This is what i have been told to do in regards to seo - i dont think there is anything i can do about those is there??
  3. How do i split images into 2 different hostnames??? could you explain that

Many many thanks

Paul

Ask your host… if they cant enable it time to find a new host :slight_smile:

http://www.pjnsports.co.uk/ redirects to http://www.pjnsports.co.uk/?f978c9a0
http://www.pjnsports.co.uk/?f978c9a0 redirected back to http://www.pjnsports.co.uk/

Whats the point? Moreover they were 302 (Temporary redirect which search engine bots dont follow) – Are you trying to hide your site from search engines?

You will need to ask your web developer for more info… probably need to edit the template.

Hi,

They arent 302’s… they are 301’s in my .htaccess file.

I’m not sure what the hell the http://www.pjnsports.co.uk/?f978c9a0 link is all about i have no idea where that has come from!!

Ask the developer who made your site.

[code]sajal@sajal-desktop:~$ HEAD -S http://www.pjnsports.co.uk/
HEAD http://www.pjnsports.co.uk/ → 302 Moved Temporarily
HEAD http://www.pjnsports.co.uk/?5bc4cec0 → 302 Moved Temporarily
HEAD http://www.pjnsports.co.uk/ → 200 OK
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: close
Date: Sun, 13 Mar 2011 17:30:52 GMT
Pragma: no-cache
Server: Apache
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Client-Date: Sun, 13 Mar 2011 17:28:45 GMT
Client-Peer: 188.121.59.128:80
Client-Response-Num: 1
Set-Cookie: PHPSESSID=btkeqr683kil6d6jkkg2n92ja0; path=/
Set-Cookie: language=en; expires=Tue, 12-Apr-2011 17:30:52 GMT; path=/; domain=www.pjnsports.co.uk
Set-Cookie: currency=GBP; expires=Tue, 12-Apr-2011 17:30:52 GMT; path=/; domain=www.pjnsports.co.uk

sajal@sajal-desktop:~$
[/code]

I have no idea what it is doing here the only thing i can think is that it is something to do with my host. I googled ?5bc4cec0 and there were 2 sites with the same text at the end of the url and after doing a whois both are with the same host as me (godaddy!!!)

sajal what did you do to get the output above?

the ?5bc4cec0 portion keeps changing and is random. probably setting session ID

I use linux , so the HEAD -S command gives that output. you can use tools such as Check Server Headers Tool - HTTP Status Codes Checker | SEO Consultants Tools to test redirects

Thanks Sajal,

What effect wil this temporary redirect have on my sites position in search engines? This isnt a normal practice is it?

[quote=“pjnsports, post:9, topic:493”]
What effect wil this temporary redirect have on my sites position in search engines? [/quote]

Probably some impact. Cant say for sure.
What I can say for sure is it hurts your performance for first time visitors.

No its not a normal practice. Dont know why anyone would set cookies like this.

I’m REALLY surprised to see a provider as big as GoDaddy not having persistent connections enabled. It’s possible that there’s something in your .htaccess that could be breaking it (if you’re willing to post or send your .htaccess we can take a look). As Sajal mentioned, this should be the top priority and will likely cut your page load time in half from the looks of things.

Whatever is going on with the double redirect is VERY bizarre. From looking at the headers, it doesn’t look like it is setting a session cookie and the request headers are identical for both requests for / so it must be doing something on the back-end. Do you have any enhanced security modules or options enabled that might be GoDaddy specific? The only thing I can think of is that it is some sort of bot protection that relies on the redirects being followed and they do some form of IP tracking.

I’m not sure if they’ve made it available across the board but GoDaddy has mod_pagespeed installed and available as an option that you can turn on for sites - it might be worth turning it on and making sure nothing breaks to see what it can do to help (mod_pagespeed is an apache module from Google that automatically performs some optimizations). It looks like your caching is already working well so the main benefit it would probably offer would be inlining small images and combining the js/css files.

Hi Patrick,

I am going to send you my .htaccess to have a look at. Is that ok?

Sure - pmeenan@webpagetest.org