javascripthtmlangularjsbrowserstatic-resource

Browser failed to load resource with deep levels of folders


I have encountered a strange problem.

Here is the screenshot from the inspector tools. enter image description here

The browser failed to load some resources even though the resources do exist. When I open the URL from another tab, the resource is successfully loaded.

URL in image:

Other resources with fewer levels of folders are loadable. Ex:

I thought the problem is from my web server, but the problem still remained after switching between NodeJS and Apache.

Has anybody encounter similar problems and got any solutions?


Solution

  • You should change file location to outter level of folders.

    The other way to load many files is using preload.js. You should try this.