I have 2 JS files, which are put at the bottom of the page: vendor.js which contains minimized libraries, and master.js, which contains project JS code. I noticed, however, that sometimes Chrome executes the second file first, before first has finished loading, and this causes the page to not function.
Both files are not declared with async:
Chrome Profiler shows this:
I may understand why Chrome starts loading the second one, but why execute it, if the one above is not loaded yet? This effect happens almost every time when I enable network throttling.