/doh-cache-worker

A Cloudflare Worker to make DNS over HTTPS requests cacheable at edge.

Primary LanguageJavaScriptMIT LicenseMIT

⚡ doh-cache ⚡

Deploy to Cloudflare Workers GitHub

👷 doh-cache is a Cloudflare Worker to make DNS over HTTPS requests cacheable at edge.

🚀 Running in production at https://dns.paesa.es/dns-query

How it Works

doh-cache transforms a DoH POST request to a DoH GET request and uses the Cache API to store the response in Cloudflare's cache. Drastically reducing response latency and server costs by using Cloudflare global network to serve cached responses.

License

MIT License