yieldparser
yieldparser copied to clipboard
Add cache-control parser example that returns whether a given value is parsed or not
e.g. s-maxage will return { cachedByEdge: true, cachedByBrowser: false }
See also:
- https://mobile.twitter.com/BHolmesDev/status/1588168499507216384
- https://vercel.com/docs/concepts/functions/edge-functions/edge-caching