Apple needs to figure out the Web and the Cloud quickly, for shit’s sake.
Were you like me this morning? Hearing the audio of the Chinese translator for Apple’s keynote alongside the audio of the actual white dudes in Cupertino? Maybe you got a few dozen error pages in Safari after numerous page refreshes?
Well, here’s why:
Unlike the last live stream Apple did, this time around Apple decided to add some JSON (JavaScript Object Notation) code to the apple.com page which added an interactive element on the bottom showing tweets about the event. As a result, this was causing the page to make refresh calls every few milliseconds. By Apple making the decision to add the JSON code, it made the apple.com website un-cachable. By contrast, Apple usually has Akamai caching the page for their live events but this time around there would have been no way for Akamai to have done that, which causes a huge impact on the performance when it comes to loading the page and the stream. And since Apple embeds their video directly in the web page, any performance problems in the page also impacts the video. Akamai didn’t return my call asking for more details, but looking at the code shows there was no way Akamai could have cached it. This is also one of the reasons why when I tried to load the Apple live event page on my iPad, it would make Safari quit. That’s a problem with the code on the page, not with the video.
Fuck me.
Apple, you need to step it up.