Script loaders vs wp_enqueue_script
If this is for your personal blog only, then just use a plugin that minifies and concatenates JS. If it’s for a theme you’re building, then if the scripts are custom, or small & unlikely to be used by other plugins, merge them all into a single .js file, and load it in the footer. … Read more