Q:

Safari for OS X displaying wrong favicon

I am using Safari 9.0.3 on OS X 10.11.9 and have only recently noticed Safari displaying the wrong favicon for some websites.
In one instance, Safari uses the Facebook icon for Messenger despite the Messenger icon being used in the head section of the page source.
I tried deleting the WebpageIcons.db file from Safari's Library folder, and I have cleared Safari history and website data across all my devices.
The Facebook icon still loads.
Any ideas?
Edit: To clarify, the proper Messenger.com icon appears in the bookmarks menu and the bookmarks editor window. However, the Facebook.com icon is used in the Smart Search Field.
Screenshot of Safari using the wrong favicon:

Facebook's Messenger.com icon:

A:

You aren't actually looking at the favicon, but rather the Touch Icon. You can find your Touch Icons in ~/Library/Safari/Touch Icons Cache/ and then look in the Images/ folder to find the actual image files.

Your choice here is you can replace the offending image with the one you want and restart Safari to have it load that, or just trash the whole Touch Icons Cache folder entirely.

