After react is packaged, the css or js files are not downloaded when you visit the page for the first time.

I have a question. If the device is opened for the first time, there is a good chance that the page will not load css (js), or if the js file is not downloaded, the page will be blank, refreshed or entered for the second time. Why

I clear the cache and it"s easy to reproduce it. Generally speaking, either the bulid file or css doesn"t come down. I think it has nothing to do with the network speed. This happens no matter what device it is

.

I took a look at the browser error report that the ERR_CONTENT_LENGTH_MISMATCH, said that generally, the disk space of the Nginx server was full, or some problem with the Nginx setting, so I went to the backstage buddy. I should be more Baidu, to disturb you.

Menu