Can link rel=preload be made to work with fetch?

后端 未结 3 1064
别跟我提以往
别跟我提以往 2021-01-02 23:09

I have a large JSON blob I would like to have preloaded with my webpage. To do this, I have added

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-02 23:26

    It looks like this is a difference between Safari and Chrome. Safari posts the warning to console, but Chrome does not, so maybe adding crossorigin to the link element does solve the problem, but Safari has some kind of bug?

提交回复
热议问题