Live data from Hacker News

McDonald's HTML5 promotion site

mcdonalds.co.uk

41–43 of 43 posts

Re: McDonald's HTML5 promotion site

#41

The creator of this (Mat Groves) is also behind [pixi.js]( https://github.com/GoodBoyDigital/pixi.js ). As an aside, I love the sound effects. I actually wish more websites played subtle "pops" and "clicks" when I interact with them. I can't quantify this, but I think those types of sound effects are one of the reasons why mobile apps feel so snappy. Clear is a good example. I'm surprised that I haven't heard anybody…

Thankfully pretty much all mobile apps with sounds have a way to disable them. The sounds don't make the apps seem any nappier to me, because the apps are indeed nappier. The sounds are just annoying.

I think websites don't do this more because reliable sounds support is spotty and there are painful memories from the past.

Re: McDonald's HTML5 promotion site

#43
post #39

Earlier quoted context omitted.

If you look at the source, you can see why it is slow. Tons of js linked in there, right in the , no minification. They even embed jQuery twice on there (1.3.2 then later on 1.6.2). Also, lots of inline styles on the page. Looks like they are using a CMS, not sure which one though. Nevertheless, that 3D rollover effect and infinite scroll in all directions is pretty fun.

> If you look at the source, you can see why it is slow. Good hunch, but not quite correct. To see why it is slow, you need to look at the Network Tab in your browser's debugger window. Their server is choking on requests.

Partially correct, the number of requests (all that JS, CSS and images) without minification and compression enabled is making this not only twice the size (in Kb) that it needs to be, but the waterfall of blocked requests is terrible. See http://scans.zoompf.com/s/7180a12152cdf3dbd5087c2f7d09813d/r... for a cursory look at the optimization opportunities. I did LOL at the HTML comment near the end:

Post reply on HN