Add Cache Response using Web Cache API #15845
kresnasatya
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see a neighbour of Bun, Deno has implement Cache Response using Web Cache API. I think if Bun can catch up this it will be great.
Background
I create web app that utilize Cache Response using SvelteKit & Cloudflare Pages (functions). The reason I choose Cloudflare because SvelteKit and Cloudflare Pages communicate using Web API standards, it makes more easier to implement a Cache Response.
Btw, I'm almost keep it in two repositories and replace the Worker (plain) with Hono because it supports Cache Middleware. But, I think it makes more complicated if I do this way.
Also, the Cache Middleware of Hono framework currently support in Cloudflare and Deno.
Syntax
The GET function comes from SvelteKit but the
caches
comes from Cloudflare.Beta Was this translation helpful? Give feedback.
All reactions