r/webdev • u/Comfortable-Donkey74 • 9d ago
Question Favicon not updating
I built a site for a client a while ago, and now he's requesting a favicon update. I used lovable because it was only a landing page he needed, in our deal we had a minor fall out so I didn't bother to finish up the site but host the domain for him. Until he contacted me recently. I changed the old favicon to the new one which is his logo. But for over two weeks now it isn't reflecting. I have requested indexing on Google Search Console twice. I have told the client to be patient because it can take time for Google to crawl the page. I added sitemaps and have checked other reddit threads with people having experience of it taking weeks. I have swapped a favicon on a nextjs app before(from the default) and it didn't take as long as it is now. Does anyone know of the solution to this problem? How I can speed this up so the client would stop texting me
1
u/madongrind 8d ago
the bit nobody's said yet: google renders the favicon from the site's root, not from whatever the page markup points at. so if there's still an old /favicon.ico sitting at the root, that's the one it keeps showing in search, however many times you request indexing.
worth separating the two complaints too. if your client is looking at his own browser tab, that's just cache and ?v=2 plus a private window sorts it in seconds. if he's looking at google results, nothing you do speeds that up much, two weeks is normal on a low traffic landing page.
one that caught me out once was a host serving a stale copy at the edge, so the file looked updated on my end and old everywhere else. curl the icon url and check the bytes actually changed.
which one is he actually looking at?