-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CloudFlare Workers Error: Error: The 'cache' field on 'RequestInitializerDict' is not implemented.
#242
Comments
With a bit of testing and some It seems like this might be an upstream cloudflare issue cloudflare/workerd#698 But maybe adding an option where the cache could be toggled off would fix this, at least until cloudflare fixes the root issue? |
Just heard from the Cloudflare folks and it seems like support for |
just bumping this, cloudflare team is still working on the compatibility fix so this functionality is still broken at the moment |
hi @harrismcc, apologies for my late reply. I will prepare a PR with |
@harrismcc just noticed you already have a PR, would you like to update it to |
When running in a cloudflare worker, I'm getting the following error when attempting to call
axiom.flush()
:Error: The 'cache' field on 'RequestInitializerDict' is not implemented.
Looking at the stack trace is pointing me to this line:
axiom-js/packages/js/src/fetchClient.ts
Line 32 in 2056f77
Cloudflare recently had a compatibility flag become default involving this https://developers.cloudflare.com/workers/configuration/compatibility-flags/#enable-cache-no-store-http-standard-api so maybe something broke?
Is there something actually broken here, or is this some kind of misconfiguration on my end? Thanks!
The text was updated successfully, but these errors were encountered: