-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fingerprinting to favicons to bust browser caching (#823)
- Loading branch information
Showing
8 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# Favicon | ||
|
||
This directory has a few versions of icons to account for different devices. In | ||
some cases, we cannot reliably detect light/dark mode preference. Hence some of | ||
the icons in here should not have a transparent background. These icons are | ||
This directory has the icons used for android devices. In | ||
some cases, we cannot reliably detect light/dark mode preference. Hence these icons should not have a transparent background. These icons are | ||
referenced in the `site.webmanifest` file. | ||
|
||
The icons used by modern browsers and Apple devices are in `app/assets/favicons` as they can be imported with a fingerprint to bust the browser cache. | ||
|
||
Note, there's also a `favicon.ico` in the root of `/public` which some older | ||
browsers will request automatically. This is a fallback for those browsers. |
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters