On my website, Mint loads in about 380ms. Since it’s in the <head> of my pages, this blocks the rendering of the web page.
I don’t really consider this acceptable, but am not sure what I can do about it.
I remember reading, some time ago, that Mint only supports this option as for some reason, pasting the code in <body> breaks Internet Explorer.
However there are lots of solutions out there for lazy-loading JS. I am wondering if some combination of the following techniques could help; if anyone has tried them; and if Mint does or will officially support one of them.
- The
asyncscript tag attribute (new browsers only) - Using conditional comments to load Mint in the
<head>for IE and only IE, and in the body for everyone else - LABjs or Head.js or another JavaScript-based lazy script loading solution
Anyone have any success in stopping Mint from blocking page render?