Matt Kane

Results 231 comments of Matt Kane

@robertsosinski this isn't a typing issue, it's to do with the architecture: there's no way to pass the actual storage object to the runtime. The way to do this is...

You could in theory write middleware to replace the cookies with URL params and add the params to all internal links, but it would be quite a complicated thing. I...

The main reason I've not implemented a cookie-based fallback is that if you want to use cookies you can just use `Astro.cookie`. Making it the default would be quite confusing....

We're hoping to release this as stable in the next minor, so I'm making this a **call for consensus**

I'd welcome a PR to add this, if anyone is up for contributing!

Closing because I'm not sure this is somethign we should be encouraging

This isn't Cloudflare-specific. It's using the `CacheStorage` api, which is also [supported by other runtimes too](https://runtime-compat.unjs.io/#CacheStorage)

@RihanArfan is there a way to implement this in a cross-platform way though, that supports runtimes that implement the web standard too

Oh, I see what's going on here. I'm trying to detect Vercel and Netlify using env vars, but Cloudflare doesn't like that. I'm going to have to think of a...