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

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

wso2esb - How to concatenate JSON array values in WSO2 ESB? -