Cloudflare cache worker utils
Various utilities for implementing cache workers on Cloudflare
🚀
Features - Implements the
age
header, by sucesfully respecting the origin response age and subtracting that from TTL on Cloudflare - Implements the
stale-while-revalidate
directive - Don't cache if origin request has been
REVALIDATED
Local development
Running tests
npm run test