javascript - Concat or not to concat external scripts? -
my site uses variety of js scripts. ones write, concat 1 master js file.
i have number of external scripts things pinterist sharing, or google's places api.
should these downloaded , concatenated master js file or should leave them separate call each of apis, so:
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places"></script>
i think concatination of external scripts bad idea.
what security fixes , updates? loose of that. many resources google etc updated regularly, have check it, download , concatinate. work 'having 1 master js file'.
Comments
Post a Comment