Skip to content

fix: browser double-fetches PNG and SVG favicons #649

@vivek7405

Description

@vivek7405

Problem

When visiting webjs apps (website, docs, blog example, etc.), browsers fetch both favicon.svg and favicon.png because both are declared with rel="icon" without sizes/type specifications that allow the browser to distinguish them.

Solution

Add sizes="any" to the PNG favicon link so that modern browsers can immediately prioritize the SVG version without double-fetching both.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions