BestDeveloper
BestDeveloper

Reputation: 333

The end of the files is cut off by web server

After uploading a js file via ftp in IDE (phpstorm or phped) to a web server (tried different hosting servers with apache) sometimes within a few minutes the file opens through http without last symbols, which causes an error. In a few minutes the file starts to load normally. When viewing the file via ftp client - the file is full. Different servers, different ftp clients, different projects, and the situation is the same. Sometimes apache shows js file without last 5-10 symbols.

JS file size is 150Kb. File ending:

function elsewhere(){}

With error file ending is:

function elsewhere(

Script loading tag: <script type="text/javascript" src="/myscript.js?t=1740843480994"></script>

Upvotes: -5

Views: 49

Answers (0)

Related Questions