denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

[Bug]: ReferenceError: caches is not defined #652

Open inverted-capital opened 5 months ago

inverted-capital commented 5 months ago

Problem description

The beta features for web caches isn't working for me. I know it's beta, but its so good - what do I need to do to access it ?

My isolate was in australia: gcp-australia-southeast1

Steps to reproduce

Deploy any code that tries to access the caches global:

const cache = await caches.open('bart')

Deno.serve((req: Request) => new Response("Hello World"));

Expected behavior

Docs say its there - plz be there

Environment

No response

Possible solution

No response

Additional context

No response

inverted-capital commented 5 months ago

Original issue seems here: https://github.com/denoland/deploy_feedback/issues/74

danopia commented 4 months ago

I'm also looking for this feature for my AWS API codegen (first in a PR and then in a simple public playground). This API would really speed up and also simplify my Deno Deploy setup (a good combination!), I would love to give it a spin. Currently I am using an S3 bucket for a cache which means that other continents have increased latency.

I suppose the docs landed before the feature itself..