From 1a068a3e8f571004e53692aee9c79ca966c51717 Mon Sep 17 00:00:00 2001 From: Colum Kelly <98435978+columk1@users.noreply.github.com> Date: Tue, 14 May 2024 11:17:18 -0700 Subject: [PATCH] docs: Add note about favicon cacheing in Vercel --- .../02-file-conventions/01-metadata/app-icons.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/02-app/02-api-reference/02-file-conventions/01-metadata/app-icons.mdx b/docs/02-app/02-api-reference/02-file-conventions/01-metadata/app-icons.mdx index c3137be5bd895..55cae496ea3c1 100644 --- a/docs/02-app/02-api-reference/02-file-conventions/01-metadata/app-icons.mdx +++ b/docs/02-app/02-api-reference/02-file-conventions/01-metadata/app-icons.mdx @@ -66,6 +66,7 @@ Add an `apple-icon.(jpg|jpeg|png)` image file. > - The appropriate `` tags and attributes such as `rel`, `href`, `type`, and `sizes` are determined by the icon type and metadata of the evaluated file. > - For example, a 32 by 32px `.png` file will have `type="image/png"` and `sizes="32x32"` attributes. > - `sizes="any"` is added to `favicon.ico` output to [avoid a browser bug](https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs) where an `.ico` icon is favored over `.svg`. +> - When deployed on Vercel, favicon files stored in the app folder are cached within the build cache. To update a file, it's necessary to invalidate this cache. ## Generate icons using code (.js, .ts, .tsx)