K
K
kushnirukd2017-09-11 22:47:55
Node.js
kushnirukd, 2017-09-11 22:47:55

Why is the Js file not loading completely?

Hello.
There is a problem of loading not a small js file. On computers, as I noticed, a GET request for a js file returns status code 200, everything generally works. When I try to make this request from the phone, the response is 206 status, and 300kb of a 1mb file. It works differently on different smartphones and browsers, on some it loads more on some less, there are some that work fine.
76UOQEMspJ4.jpg
File content (end of file):

Screen
ZrnFD96dYlE.jpg

How can I make the script load completely in all browsers?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-09-11
@kushnirukd

What's the file? It looks like you are using a webpack bundle that is for development. Make a production build.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question