Skip to content

API to fetch and cache remote favicons. Built on 100% PHP, deployed on Vercel.

License

Notifications You must be signed in to change notification settings

nberlette/fav.icns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


Usage

https://fav.icns.ml/git.luolix.top.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/git.luolix.top.png?refresh

License

MIT © Nicholas Berlette

Releases

No releases published

Sponsor this project

Languages