The first loading of JS is incomplete, and automatic reloading causes problems.


as shown in the figure, paper.js is the first to load 477B, which is the wrong size, and then paper.js, is loaded again, which is 9K this time. look carefully and find that the second paper.js load is followed by a timestamp parameter . Our program did not add this parameter, so it is directly referenced by < script src= "paper.js" > < / script >, because the first paper.js loading error caused the program error (even if the second paper.js load is correct).

this problem has not happened under ordinary network conditions, such as our office, branch office, home, etc., but it often happens in the school computer room. Because the school computer room is far away in Hunan, it is too far to go over. I want to use QQ to connect to have a look, but the QQ remote connection has not been successful. Is there any restriction on the school network?

I hope everyone will take a look at it!

Mar.04,2021

normally ? The query string after does not affect the content of the file. However, I see that the initiator of the paper downloaded later is the first paper.js, which generally means that the second js is a load request made from another js rather than a html. Did you see if the contents of this js file are correct?


I guess you can just add a version to < script src= "paper.js" > < / script >


to find the reason. The first request was hijacked by the operator and injected

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