Home  >  Article  >  Backend Development  >  javascript - What happens when the waiting time of 5S is displayed when loading a js file?

javascript - What happens when the waiting time of 5S is displayed when loading a js file?

WBOY
WBOYOriginal
2016-12-01 01:27:311675browse

javascript - What happens when the waiting time of 5S is displayed when loading a js file?

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

Reply content:

javascript - What happens when the waiting time of 5S is displayed when loading a js file?

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

Check if it is a file in another server, especially if it is from abroad, then it is normal

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn