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

#236923
Shikkediel
Participant

Or other general thoughts on the subject…

Seems like a good move to use strict mode on the retrieved material in any case by the way :

new Function('"use strict"; ' + runit)();

Lol, made me find an incorrectly declared variable that became global in one of my scripts…