PageSpeed Insights Improvements

Various improvements to this page have been made in order to get a better score in Google PageSpeed Insights. This page now scores 96 / 100 for mobile speed and 97 / 100 for desktop speed. We do not get 100 / 100 because you can not set HTTP cache headers in GitHub Pages.

Most notably all render-blocking JavaScript and CSS in above-the-fold content has been eliminated. An initial page rendering can now be done after the first server exchange (unless you use the old marschall.github.com domain which gets a redirect). This has been done by loading the Twitter Bootstrap CSS dynamically after loading the HTML. In order for the page to look OK without CSS applied the navbar gets hidden until the CSS is loaded. Together these changes should result in much faster page loading on 3G and slower mobile networks.

Update switching to a custom Twitter Bootstrap CSS makes the CSS small enough to be inlined.