You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@boye thanks..
However my questions is another.
Performance change if I load multiple files or just one single file?
Maybe multiple files is loaded more fast since is loaded in parallel?
Since I could just load one main file vendor + main for all pages, I could just use something like this:
var r = document.getElementsByTagName( "script" )[ 0 ],
s = document.createElement( "script" );
s.src = 'all.js';
r.parentNode.insertBefore( s, r );
I have one minified files vendor.js with all third party script like jquery, bootstrap, etc..
Then I have one main.js files with custom script.
Using your plugin it this can be loaded like:
Can I use this way or is better separate vendor files?
Thanks
The text was updated successfully, but these errors were encountered: