Ability to override individual URLs in a test
|
04-28-2012, 02:40 AM
Post: #1
|
|||
|
|||
Ability to override individual URLs in a test
I'm trying to evaluate the impact of caching certain resources in my site on a CDN. For this, it would be really useful to be able to override individual URLs on a test page. For instance, something like this:
Code: overrideUrl http://foo.com/foo http://bar.com/bar Any time the test would request the "foo.com" URL, it would substitute the "bar.com" URL. |
|||
07-20-2012, 05:08 AM
Post: #2
|
|||
|
|||
RE: Ability to override individual URLs in a test
There are some override commands (SetDnsName, overrideHostUrl) supported by the script interface.
https://sites.google.com/a/webpagetest.o...TOC-setDns If the asset has the same filename on the CDN as the Origin server, you could use setDnsName to test with and without the CDN. SetDnsName ExampleCDN.com ExampleOrigin.com Would cause http://www.examplecdn.com/cool.jpg to get loaded from http://www.exampleorigin.com/cool.jpg during the test. There have been a couple of recent articles about testing CDNs that you might find useful. http://www.jonathanklein.net/2012/07/mea...-with.html http://blog.catchpoint.com/2012/07/11/ho...mark-cdns/ |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)