Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 965 Bytes

readme.md

File metadata and controls

38 lines (25 loc) · 965 Bytes

Fetch and cache favicons remotely. Runs on PHP + Vercel.


Usage

https://fav.icns.ml/github.com.png
https://fav.icns.cf/berlette.com.png

Cache-Control

  • s-maxage=1209600 - 2 week - cache TTL on the CDN
  • stale-while-revalidate=86400 - 1 day - show stale content while refreshing (SWR)
  • stale-if-error - 3 days - show cached content if an error occurs

Forced Revalidation

https://fav.icns.ml/github.com.png?refresh

License

MIT © Nicholas Berlette