Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Optimising delivery with dynamic deferred scripts and localStorage caching Reply To: Optimising delivery with dynamic deferred scripts and localStorage caching

#236906
Shikkediel
Participant

It’s a nice little basic script by the way, if I may so so. It avoids the issues with IE9 not executingdefer well by checking for async support and only making deferred links for those browsers. This will exclude IE9 which will be loaded asynchronously through event listeners.

http://caniuse.com/#feat=script-defer

http://caniuse.com/#feat=script-async