WebPagetest Forums
Advice about problems in Webpagetest? (newbie) - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Advice about problems in Webpagetest? (newbie) (/showthread.php?tid=10280)



Advice about problems in Webpagetest? (newbie) - hariskar - 12-25-2011 12:50 AM

In Webpagetest for my page the main problems are:
-First Byte Time (503 ms)
-Use a CDN for all static assets
-Leverage browser caching of static assets
-Combine static CSS and JS files

Could you please advise me how I could correct the problems above or some of them?

Thank you!


RE: Advice about problems in Webpagetest? (newbie) - pmeenan - 12-28-2011 12:10 AM

Looking at your actual test result I don't think it's quite as bad as you make out: http://www.webpagetest.org/result/111224_25_2MQ2A/

Are you on shared hosting or on a dedicated server? Improving the first byte time is probably going to require re-configuring the server unless there is something obvious in the back-end code.

I'd actually recommend looking at your js to see if you can move it out of the head and down to the bottom of the page (or load it asynchronously at the top). This is difficult if you have inline scripts that depend on it but you can get close to a second improvement by getting the javascript execution out of the critical path.

Next up I'd take a look at the rokbox theme icons and get them combined into a sprite (and possibly merge as many sprites together as possible).

After you get those done then a CDN MIGHT make sense if you have users from around the world. If your users are all located in one region it is probably not worth it (assuming you server is in the same region as the users).


RE: Advice about problems in Webpagetest? (newbie) - hariskar - 12-28-2011 12:48 AM

I am on a shared server. Thank you for reply. I will try to figure out how to everything you tell me..
Any step-by-step guide?



(12-28-2011 12:10 AM)pmeenan Wrote:  Looking at your actual test result I don't think it's quite as bad as you make out: http://www.webpagetest.org/result/111224_25_2MQ2A/

Are you on shared hosting or on a dedicated server? Improving the first byte time is probably going to require re-configuring the server unless there is something obvious in the back-end code.

I'd actually recommend looking at your js to see if you can move it out of the head and down to the bottom of the page (or load it asynchronously at the top). This is difficult if you have inline scripts that depend on it but you can get close to a second improvement by getting the javascript execution out of the critical path.

Next up I'd take a look at the rokbox theme icons and get them combined into a sprite (and possibly merge as many sprites together as possible).

After you get those done then a CDN MIGHT make sense if you have users from around the world. If your users are all located in one region it is probably not worth it (assuming you server is in the same region as the users).



RE: Advice about problems in Webpagetest? (newbie) - pmeenan - 12-28-2011 03:56 AM

I'd stay away from the first byte times for now. The js and image spriting are going to require some development to the site template and code - any chance you have a development background? If not it could be pretty risky to make some of the changes as they will break the site.


RE: Advice about problems in Webpagetest? (newbie) - hariskar - 12-28-2011 04:12 AM

Unfortunately I have no developing background. So I leave it as it is. Thank you!