Is there a problem loading a bunch of js, in my web program?

my web program has a lot of js,. It will slow down the loading of the program and feel like you can"t remove any of them. Some of them are also loaded on demand.

I look at their websites, and many of them load js,. Is it okay for me to do this?

Baidu has some information, it seems to be possible to have this, lazyload, is simply used, some of these js are dependent, and they don"t dare to make a big deal out of it. Is it better to do this kind of thing backstage? Which template page needs, which js, output will be fine.

Mar.29,2021

if you can't remove it, reduce the number of js file requests: use Gulp or Webpack to automatically merge one or more of these js and compress them before publishing to the production environment.

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-1b37540-2c068.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-1b37540-2c068.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?