Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have been using Amazon Cloudfront to server up media/js/css files stored in Amazon S3 for a website that is accessed internationally. I want to find out if Cloudfront is using the nearest node from the point of origin of the web page request. So for example is someone from Hong Kong is requesting my website's home page, the static files like media/js/css are getting served up from the node in Singapore.

How can I figure this out other than renting server space on EC2 in Hong Kong and pinging the resource from there?

share|improve this question
add comment

migrated from stackoverflow.com Jan 21 '12 at 21:23

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 0 down vote accepted

You can measure the total load time (including image elements) for visitors with Google Analytics as detailed in the Measure Page Load Time with Site Speed Analytics Report analytics blog post.

It would also be possible to roll your own solution by authoring a Javascript which, when run by a client, checks load time against a resource pulled from Cloudfront and reports the time taken back to your server (though doing so is unnecessary if implementing Google Analytics).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.