# Preload warnings in Chrome & Safari

**URL:** https://discuss.hotwired.dev/t/preload-warnings-in-chrome-safari/1745
**Category:** General
**Created:** [December 28, 2020, 11:02pm UTC](https://discuss.hotwired.dev/t/preload-warnings-in-chrome-safari/1745 "2020-12-28T23:02:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jmckible](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/jmckible/32/1250_2.png) [@jmckible](https://discuss.hotwired.dev/u/jmckible)
#### Post date: [December 28, 2020, 11:02pm UTC](https://discuss.hotwired.dev/t/preload-warnings-in-chrome-safari/1745/1 "2020-12-28T23:02:03Z")

</div>

I’m not sure if this is more of a GitHub issue or not, but I figured I’d start here to better understand the issue. I just fired up the demo chat app and am working through a fresh Rails 6.1 install to see all the necessary changes.

On page load in Chrome and Safari (but not Firefox [which I’m aware the demo was done in]), there are a series of warnings about link preloading. Is this expected?

 ![Screen Shot 2020-12-28 at 2.57.35 PM](https://canada1.discourse-cdn.com/flex027/uploads/stimulusjs/original/2X/7/72e990301fb4bc7af9585c1c32c4423810e8cf74.png)

So far I haven’t seen any negative effects; more annoying than anything else. But I want to make sure I haven’t done something wrong, and perhaps leave a clue for any future people who are curious.

---

<div class="post-metadata">

### Author: ![repoles](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/repoles/32/2109_2.png) [@repoles](https://discuss.hotwired.dev/u/repoles)
#### Post date: [March 19, 2022, 10:57am UTC](https://discuss.hotwired.dev/t/preload-warnings-in-chrome-safari/1745/2 "2022-03-19T10:57:27Z")

</div>

Same problem started to happen with my app. If I don’t import @hotwired/turbo-rails (I’m using webpacker), the warning disappear.

---

<div class="post-metadata">

### Author: ![burinmar](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/burinmar/32/3142_2.png) [@burinmar](https://discuss.hotwired.dev/u/burinmar)
#### Post date: [February 21, 2023, 9:09am UTC](https://discuss.hotwired.dev/t/preload-warnings-in-chrome-safari/1745/3 "2023-02-21T09:09:15Z")

</div>

Hi @jmckible,

did you solve this? Just started to use turbo&stimulus and have same behaviour.

---

<div class="post-metadata">

### Author: ![jmckible](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/jmckible/32/1250_2.png) [@jmckible](https://discuss.hotwired.dev/u/jmckible)
#### Post date: [February 21, 2023, 5:15pm UTC](https://discuss.hotwired.dev/t/preload-warnings-in-chrome-safari/1745/4 "2023-02-21T17:15:50Z")

</div>

Nope, never got to the bottom of it.

---

<div class="post-metadata">

### Author: ![tleish](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/tleish/32/920_2.png) [@tleish](https://discuss.hotwired.dev/u/tleish)
#### Post date: [February 21, 2023, 11:20pm UTC](https://discuss.hotwired.dev/t/preload-warnings-in-chrome-safari/1745/5 "2023-02-21T23:20:47Z")

</div>

> <https://github.com/rails/importmap-rails/issues/133>
>
> When I visit my application on Chrome 102 / macOS I get this warning:
> 
> \> The r…esource http://localhost:3000/assets/es-module-shims.min-4213490297290a6ddf72ee4cafbf726e959de874.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate \`as\` value and it is preloaded intentionally.
> 
> I'm not sure what the solution would be
