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

#237144
Shikkediel
Participant

Here’s the first draft, if any of you brainiacs are up for a code review :

http://ataredo.com/resource/entail.js

Still working on the feature test part (that’s a bonus) and making it a site-wide implementation.

Freakin’ Android 2.3 never wants to play nice. Seems you can’t reuse a window. global variable for some reason so I had to create another for feature testing…

Edit – left that out, easier and better for overview to make it a separate file.