Preload von JS ohne es auszuführen

Kommentieren Dec 07 2010

 

Preload CSS/JavaScript without execution

Preloading components in advance is good for performance. There are several ways to do it. But even the cleanest solution (open up an iframe and go crazy there) comes at a price - the price of the iframe and the price of parsing and executing the preloaded CSS and JavaScript. There’s also a relatively high risk of potential JavaScript errors if the script you preload assumes it’s loaded in a page different than the one that preloads.



Mal sehen was man damit alles machen kann…