cacheflare v0.1.4
a tiny cloudflare worker that proxies and caches http(s) api responses.
powered by hono, deployed on cloudflare edge
live endpoint:
https://cacheflare.grng.workers.dev/
usage:
https://cacheflare.grng.workers.dev/https/gettimeapi.dev/v1/time proxies to
https://gettimeapi.dev/v1/time & caches for 5 minutes
try it out!
query params:
ttl: cache seconds (default 300, max 86400)
respect=1: respect origin cache-control
no-cache=1: bypass cache
headers:
cf-cache-bypass: 1: bypass cache
response header:
x-cacheflare: hit|miss (shows cache status)
current time: 2026-02-14T16:41:36.114Z