Home > Backend Development > PHP Tutorial > 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
Release: 2023-03-02 11:26:01
Original
1697 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template