WebPagetest Forums

Full Version: CSS hosted on CDN doesn't load on test but OK in real life
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've got a site I'm looking after the hosting for - http://www.ski-insurance.com.au - and we've moved the assets (css etc) to a CDN. Since doing so, if I do a webpagetest on it (e.g. http://www.webpagetest.org/result/150217_81_WN7/ ), it doesn't load the CSS and the assets in it.

Looking at the site in real life works fine though, as does testing it through numerous browsers on browserstack.com, so it seems to be a problem with the webpagetest.org stuff?

Any ideas?
Try enabling "preserve user agent string" in the advanced settings. It's possible that your CDN is blocking the traffic with the PTST UA string (would be really bizarre but possible).
Thanks, tried that to no avail.

It's not actually a CDN, it's just an nginx cluster I've setup on AWS that acts as a reverse proxy to take some bandwidth load off the main environment, so I control it all!

Very weird that it only doesn't work in WPT but everything else seems fine!
Reference URL's