Chrome just doesn't finish loading JS files

前端 未结 6 1363
名媛妹妹
名媛妹妹 2021-02-05 05:51

I am writing an app that includes about 12 short JS files in the section (I know, I should merge them and move them just before the end of

6条回答
  •  悲哀的现实
    2021-02-05 06:28

    There are several good answers, but if you want a foolproof method of doing this, you can use PHP to send all the scripts at once. If the problem is truly too many connections to the server, you could add some html code like this:

    
    
                                     
                  
提交回复
热议问题