How to make the browser (IE and Chrome) request images before scripts?

后端 未结 5 2054
说谎
说谎 2021-02-05 09:36

Note: If you are reading this for the fist time, you may jump directly to the UPDATE, since it addresses the issue more accurately.

So I got a

5条回答
  •  佛祖请我去吃肉
    2021-02-05 10:03

    Most latest browsers to this kind of unpredictable parallel preloading of stuff these days, for performance reasons and basically ruining any chance of creating an order for loading components. This of course happens once the full DOM has been loaded. Same story as with JQuery lazy loading of images, which has been broken for a while now.

提交回复
热议问题