Cache fonts in Vercel deployments


If you wanna cache fonts in vercel deployments, add this to vercel.json

vercel.json
{ "headers": [ { "source": "/inter-var-latin.woff2", "headers": [ { "key": "Cache-Control", "value": "public, max-age=31536000, immutable" } ] } ] }

Inspired from CMDK project.