Khan / khan-api

Documentation for (and examples of) using the Khan Academy API
http://www.khanacademy.org
377 stars 75 forks source link

Fastly video URLs #79

Closed kdadmin closed 9 years ago

kdadmin commented 9 years ago

I notice a change from amazonaws to fastly on your video URLs in the api/v1/topictree.

Will the old URLs remain valid for a while?

The response time seems slower - one request even timed out. Any idea why?

Thanks

alangpierce commented 9 years ago

Sorry for taking so long to get to this.

I didn't set it up, but I believe we have fastly configured to just wrap S3, so I think the old S3 URLs should just work, at least with our current configuration. Of course, it's possible that we'll change the configuration or the URL format in the future, but I'm not aware of any near-term plans to do that.

I believe we measured fastly to be faster, so I'm not sure why it would be slower for you. Regardless, we're likely to keep this configuration, so hopefully the switch doesn't cause too much trouble.