Current time: 12-10-2019, 11:03 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Advice about problems in Webpagetest? (newbie)
12-25-2011, 12:50 AM (This post was last modified: 10-03-2018 02:17 AM by hariskar.)
Post: #1
Advice about problems in Webpagetest? (newbie)
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!
Find all posts by this user
Quote this message in a reply
12-28-2011, 12:10 AM
Post: #2
RE: Advice about problems in Webpagetest? (newbie)
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).
Visit this user's website Find all posts by this user
Quote this message in a reply
12-28-2011, 12:48 AM
Post: #3
RE: Advice about problems in Webpagetest? (newbie)
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).
Find all posts by this user
Quote this message in a reply
12-28-2011, 03:56 AM
Post: #4
RE: Advice about problems in Webpagetest? (newbie)
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-28-2011, 04:12 AM
Post: #5
RE: Advice about problems in Webpagetest? (newbie)
Unfortunately I have no developing background. So I leave it as it is. Thank you!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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