Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Favicon Loading #11498

Closed
Brolupyr777 opened this issue Jan 2, 2024 · 1 comment
Closed

Favicon Loading #11498

Brolupyr777 opened this issue Jan 2, 2024 · 1 comment

Comments

@Brolupyr777
Copy link

Describe the bug

Whenever you try to swap the preloaded favicon from the skeleton project to your own, it refuses to do so unless you switch the HTML link to a non-existent path, reload, and set it back.

Reproduction

`Need to install the following packages:
create-svelte@6.0.5
Ok to proceed? (y) y

create-svelte version 6.0.5

┌ Welcome to SvelteKit!

◇ Where should we create your project?
│ (hit Enter to use current directory)

◇ Which Svelte app template?
│ Skeleton project

◇ Add type checking with TypeScript?
│ No

◇ Select additional options (use arrow keys/space bar)
│ none

└ Your project is ready!

Install community-maintained integrations:
https://github.com/svelte-add/svelte-add

Next steps:
1: npm install
2: git init && git add -A && git commit -m "Initial commit" (optional)
3: npm run dev -- --open

To close the dev server, hit Ctrl-C

Stuck? Visit us at https://svelte.dev/chat`

Logs

No response

System Info

System:
    OS: macOS 13.4.1
    CPU: (4) x64 Intel(R) Core(TM) m3-7Y32 CPU @ 1.10GHz
    Memory: 16.30 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 18.16.1 - /usr/local/bin/node
    npm: 9.5.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 120.0.6099.129
    Safari: 16.5.2
  npmPackages:
    @sveltejs/adapter-auto: ^3.0.0 => 3.0.1 
    @sveltejs/kit: ^2.0.0 => 2.0.6 
    @sveltejs/vite-plugin-svelte: ^3.0.0 => 3.0.1 
    svelte: ^4.2.7 => 4.2.8 
    vite: ^5.0.3 => 5.0.10

Severity

serious, but I can work around it

Additional Information

Frustrating since I spent a decent amount of time trying to work with this problem not knowing of its existence.

@Conduitry Conduitry closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2024
@Conduitry
Copy link
Member

Browsers cache favicon.ico files very aggressively. That's just how they work, it's unrelated to Svelte, and there's not really anything we can reasonably do about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants