Skip to main content Accessibility Feedback

HTML, ajax, iframes, and performance hacks

Jake Archibald recently noticed that loading a page on GitHub was faster if starting from scratch than if already on GitHub.

That kind of makes no sense, right?

What Jake found was that the really intricate JavaScript page loading they’re doing on subsequent page loads is removing a ton of optimizations the browser does for you, slowing the site quite noticeably on slower internet connections.

Jake gets into a whole ton of tips, tricks, and hacks (including using iframes, gasp!) to get around this and gain that speed advantage that ajax page loading is supposed to give you. Check it out!