/local-favicon-cache

Creates a favicon cache from Googles "favicon API".

Primary LanguageHTMLMIT LicenseMIT

Local Favicon Cache

Pic: A street sign
Free pic from https://unsplash.com/@BernardHermant

By Timo van Neerden


This script uses a Google Service to constitute a local favicon cache.

The first time a favicon for any given domain-name or URL is requested, the script asks the google-service for the favicon and stores it locally. The next time a favicon for the same domain is requested, the locally stored icon is served.

This avoids network cross-sites requests and therefore enhances user-privacy (no google-requests).


This script is placed under MIT-License.

This script is based upon Mitsu's gravatar-cache script, which is basically the same script but for Gravatar icons.