Current time: 10-22-2019, 12:54 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Are my result ok or not? Newbie
01-18-2011, 09:32 PM (This post was last modified: 01-19-2011 01:59 PM by pmeenan.)
Post: #1
Are my result ok or not? Newbie
Hello,

I'm just discovering this testing site and find it a great tool but I have some trouble about the results. Can you tell me if they are good, not good and what certainly needs to be change.

http://www.webpagetest.org/result/110117_3W_6K0/

thank you
Find all posts by this user
Quote this message in a reply
01-19-2011, 05:15 AM (This post was last modified: 01-19-2011 01:58 PM by pmeenan.)
Post: #2
RE: Are my result ok or not? Newbie
(01-18-2011 09:32 PM)didier Wrote:  Hello,

I'm just discovering this testing site and find it a great tool but I have some trouble about the results. Can you tell me if they are good, not good and what certainly needs to be change.

http://www.webpagetest.org/result/110117_3W_6K0/

thank you

check out http://www.webpagetest.org/result/110117...imization/

make sure to fix the first 5 columns - they r easiest to implement. the first 4 are no brainer.

cdnplanet.com: We help you select the right CDN
Visit this user's website Find all posts by this user
Quote this message in a reply
01-19-2011, 02:03 PM (This post was last modified: 01-19-2011 02:04 PM by pmeenan.)
Post: #3
RE: Are my result ok or not? Newbie
Your times are a lot faster than I would have expected given that keep-alives are disabled. That should be your #1 thing to attack because it should just be a config change on the server hosting the site and it will have quite a big impact.

After that my other biggest suggestions would be:

- Set a long expires time for your static content (requires you to change the file names if you change the files but it will be a hige win for any repeat visitors)

- Move your javascript out of the head and to the bottom of the page (or make it async) if you can without breaking page functionality

- Create a sprite out of the number images
Visit this user's website Find all posts by this user
Quote this message in a reply
01-19-2011, 04:14 PM
Post: #4
RE: Are my result ok or not? Newbie
Thanks for your answer.

So If I understand what you are writing, the keep-alive depends on my hosting? I should ask them to make it enable?

Second, I'm trying to put an expires header on the images, but I'm not succeeding with this. I find a lot of examples but is confusing, can you help me with this?

What about the cookie column? It's return a cookie session_id, where does this come from?

regards,
Didier
Find all posts by this user
Quote this message in a reply
01-20-2011, 12:09 PM
Post: #5
RE: Are my result ok or not? Newbie
Yes, you should contact your hosting about the keep-alives.

Ignore the cookie column, it's not really worth addressing in your case.

For the expires, here is an example of what I have in my .htaccess config:

ExpiresActive On
ExpiresByType image/gif A31536000
ExpiresByType image/jpg A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType image/png A31536000
ExpiresByType image/bmp A31536000
ExpiresByType text/css A31536000
ExpiresByType text/javascript A31536000
ExpiresByType application/javascript A31536000
ExpiresByType application/x-javascript A31536000

You can strip that down to just the image mime types if that makes sense (and this is assuming Apache hosting). Do be careful to make sure that you won't break future changes on your site by enabling the expires though. If you don't make sure that you can change your file names if they are ever updated you will do more damage than good by enabling it.

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2011, 02:10 AM (This post was last modified: 01-21-2011 02:20 AM by didier.)
Post: #6
RE: Are my result ok or not? Newbie
(01-20-2011 12:09 PM)pmeenan Wrote:  Yes, you should contact your hosting about the keep-alives. I'll do it

Thanks,

-Pat

Hi Pat,
I don't understand what you mean by "If you don't make sure that you can change your file names if they are ever updated you will do more damage than good by enabling it."

I get an ERROR 500 when I put your code in the htaccess. I suppose that the required modules are not loaded, so I suppose I have to ask my hosting to activate them

thanks Didier
Find all posts by this user
Quote this message in a reply
01-21-2011, 02:36 AM (This post was last modified: 01-21-2011 02:36 AM by pmeenan.)
Post: #7
RE: Are my result ok or not? Newbie
Yep, you need them to enable the expires module.

If yo set an expires time on an image (or other file like javascript) you are telling the browser that the file at that URL will not change for at least the amount of time for the expiration (1 year I think in the example I gave you) so the browser will save it on your user's disk and not ask you for it again until the expiration time comes.

If you decide you want to change your logo (or the site layout) yo can't just update the logo file because the browsers of your users that have visited your site will not ask for it since you told them it wouldn't change. You need to give the new file a new name and then change anywhere it is referenced (in the html for example) to make sure it points to the new file.

It gets really bad if you change your whole site functionality and layout to the point where the new HTML will only work with the new CSS, Javascript and images. If you re-use the same file names you could get into a situation where the browsers are loading the new HTML but are still using the old css, javascript and images.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-22-2011, 07:57 PM
Post: #8
RE: Are my result ok or not? Newbie
A big thank you to you Pat.

I'll contact my hosting and ask them to do the job. Once they make it, I'll retest my site.

See you around

Didier
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)