Next.js Discord

Discord Forum

favicon is not updated

Answered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
hi all,

i'm trying to replace old icon.ico with a new one, and while locally and in vercel deployment link branch it is updated, on staging and in prod favicon is not updated.

i just replaced old icon with new one in dir, am using latest nextjs with app router
Answered by Transvaal lion
yup, same! in the end, i just converted and replaced .ico with .png which i guess forced the browser to refresh them
View full answer

5 Replies

@joulev Browsers cache favicon pretty aggressively. Clear your browser cache and it should work
Schneider’s Smooth-fronted Caiman
it didnt work to me
i cleared cache all etc
@Schneider’s Smooth-fronted Caiman it didnt work to me
Transvaal lionOP
yup, same! in the end, i just converted and replaced .ico with .png which i guess forced the browser to refresh them
Answer
Schneider’s Smooth-fronted Caiman
alr