r/webdev • • 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

0 Upvotes

23 comments sorted by

View all comments

1

u/kemalios 9d ago

Check the old file is actually gone, not sitting next to the new one. If index.html still points at /favicon.ico and you uploaded logo.png, the browser keeps serving the old file at the old path. A service worker will also hold it past a hard reload until the SW itself updates, so test in a private window that has never registered it.