Home > Article > Backend Development > javascript - What happens when the waiting time of 5S is displayed when loading a js file?
As shown in the picture above. This JS file is 5K and it is not very powerful. But every time it is loaded, it will wait for five seconds, so that the AJAX loading in the page will increase the time by 5S for no reason, which is very embarrassing.
Please help me. Solve it
As shown in the picture above. This JS file is 5K and it is not very powerful. But every time it is loaded, it will wait for five seconds, so that the AJAX loading in the page will increase the time by 5S for no reason, which is very embarrassing.
Please help me. Solve it
Check if it is a file in another server, especially if it is from abroad, then it is normal