Re:Making the Switch from Amazon Cloudfront to Fastly
by mayop100 on Monday July 30, 2012 @05:42PM
(#4314843)
Keep in mind that we can't afford to have a constantly-changing resource name, as 3rd-party developers link directly to our assets. For our own website, this might work fine, but even then it's a pain and doesn't work for all assets (such as for your index.html pages).
[ Parent
| on HN ]
Re:Making the Switch from Amazon Cloudfront to Fastly
by sintaks on Tuesday July 31, 2012 @02:56AM
(#4316058)
Make the main asset that your 3rd-party devs load a loader, and not the lib itself. Teach the loader how to find out where the latest version is, and how to load it. Then teach it to sing, and, preferably, to dance.