Current time: 09-20-2019, 12:59 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can CDN be added for a site without it question
03-27-2014, 06:26 PM
Post: #1
Can CDN be added for a site without it question
He all.
I have been wondering if it is possible to compare Imaginary a site with CDN, in fact it does not use it
as I can check now - with js and without js enabled

Is it possible to do so on WebPageTest?
Find all posts by this user
Quote this message in a reply
03-28-2014, 12:12 AM
Post: #2
RE: Can CDN be added for a site without it question
Potentially though you'll need to take care of configuring the CDN itself (without necessarily changing the site). Say for example, http://www.example.com doesn't use a CDN.

- Pick a CDN provider and configure it to point to http://www.example.com's server as the source
- Tell the CDN that you want to use http://www.example.com for the domain name
- Most CDN's will give you a unique DNS name that you will need to CNAME to (like www-example-com.maxcdn.com or something like that)
- In WebPagetest you can use the SetDnsName to map http://www.example.com to www-example-com.maxcdn.com so it will test through the CDN without you having to change the site's DNS or anything about the site

You do still have to do all of the legwork in setting up the CDN as if you were going to use it though.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-28-2014, 02:04 AM
Post: #3
RE: Can CDN be added for a site without it question
Thank you for answer,

I really need your help - I have watched almost all of your Webinars . Did the best of your recommendations and get this

http://www.webpagetest.org/video/view.ph...098&data=1

When I deffered the main JS I got worse Page speed index compare to almost the same version with Main js footer....

could you please give insight - why ?
Find all posts by this user
Quote this message in a reply
03-28-2014, 03:36 AM
Post: #4
RE: Can CDN be added for a site without it question
The speed index is getting thrown off by that giant white popup and dimming of the main page. Your best view for debugging is the filmstrip like this: http://www.webpagetest.org/video/compare...end=visual

It looks like the page basically all renders after the html and one css file have loaded (and it squeaks the image in there as well). The main pain point is the server time to generate the HTML which is ~750ms. A CDN will only help if your HTML itself is cacheable and you can cache it at the edge. Otherwise going out to a different domain for the CSS and image will actually make it slower.

The javascript isn't coming into play in the initial render at all.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-28-2014, 04:04 AM
Post: #5
RE: Can CDN be added for a site without it question
Oh, thanks, Patrick

1 - I will look deeper how I can speed up appearing of "Welcome message" pop with no content inside)
2 - I would try to Deffer inlined GA script - to start render as fast as possible - will help ?
3 - Will it help to add async tag for main js in order to get look ahead parser preload next assets http://screencast.com/t/wDZBmAJ7o

As for First byte - it is a Dev instance . It should be twice faster on Live instance

Question:

Could u give ideas why waterfall is so bad
I dont have like
6 connections
6 connections
6 connections,

instead:
1 con
2 con
3 con and so on http://screencast.com/t/0E7VpAWA
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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