javascript - what happens when loading a script -


this question has answer here:

this question seems more difficult thought. creating app, needs load different frameworks different pages. loading @ once overkill , expensive in regards of resources. thought "unloading" script / framework. learned not working easy removing script tag browser, apparently there events bound , functions still available, etc. lasting after script removal. question "features" more events , functions can loaded script , there existing solution clean them somehow?

i excited answer.

kind regards, marius

marius when load different frameworks talking loading different javascript libraries? if thats case, none of variables or events in library stay persistent when new web page loaded browser doesnt use library. cookies , cached data can stay persistent, that's not managed library.


Comments