Le 22/12/2013 14:57, Prateek Jadhwani a écrit : > Hello People, > > From the looks of the code, it seems that the js files LazyLoads the code of > the modules it needs. My question is does it get rid of the js files that > were LazyLoaded after its work is done, or does it stay in the memory. Coz if > it just keeps on adding every file, then it might cause some serious > performance problems. And I have no idea if the garbage collection of the > Gecko engine releases just the object or the files associated as well. > >
Hey Prateek! This is only a way to load JS (and CSS) files when we need them. Once the file is lazy loaded, everything works as if the file was loaded at the start like a "normal" script. Hope this helps, -- Julien
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g