Is it necessary to merge the compressed js files (js plug-ins, libraries, etc.) used in the page?

for example, I introduced the following js files into my page (not the js, written by myself in the project, but the js files such as plug-ins, libraries, etc.):

modernizr-3.2.0.base.js,
prefixfree.min.js,
jquery-1.11.3.min.js,
jquery.easings.min.js

do I need to merge them into one js file to import?
what is the general method of merging if necessary?

Mar.11,2021

this kind of question cannot be answered.
this consideration is multifaceted, for example, if you package, whether js needs to be changed, and whether some of the changes will cause the entire file to be cached, then you can accept it. For example, whether there are many js files, and whether you need to merge and reduce socket links.
merging and non-merging must have their pros and cons. The general result is a partial merger, and the problem is what your system can put up with and what it can't.


if these files are few, they can be tolerated, if there are more, they will obviously speed up loading, and can be packaged with tools such as webpack.


webpack are all done

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf583d-54be0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf583d-54be0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?