Skip to content

preloaded with link preload was not used within a few seconds. Warning #7557

@ghost

Description

Describe the bug

On a Site build via @sveltejs/adapter-static
Firefox puts strange warnings into the console.

The resource at URL preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.

URL means usually something like: https://[DOMAIN]/_app/immutable/chunks/1-b645c4a1.js

At first glance, this only seems to relate to files in the "_app/immutable" folder

Browser:
Firefox: 106.0.5 (64-Bit)
OS: Linux Mint 21

The strange thing is, that Chrome does not do this.

this is my package.json.
package.json.txt

Screen Capture_select-area_20221109063710

Reproduction

  • create new project.
  • install @sveltejs/adapter-static
  • change adapter in svelte.config.js to '@sveltejs/adapter-static'
  • build project
  • move content of build directory to a static hoster.
  • call page in firefox
  • wait a few seconds.

Logs

No response

System Info

System:
    OS: Linux 5.15 Linux Mint 21 (Vanessa)
    CPU: (16) x64 AMD Ryzen 9 5900HS with Radeon Graphics
    Memory: 7.50 GB / 15.04 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 16.18.0 - /usr/local/bin/node
    npm: 8.19.2 - /usr/local/bin/npm
  Browsers:
    Chromium: 106.0.5249.119
    Firefox: 106.0.5

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions