yieldparser icon indicating copy to clipboard operation
yieldparser copied to clipboard

Add cache-control parser example that returns whether a given value is parsed or not

Open RoyalIcing opened this issue 3 years ago • 0 comments

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

RoyalIcing avatar Nov 04 '22 07:11 RoyalIcing