Skip to content

[rest-sdk] remove cache = "default" default fetch option #687

@klkvsk

Description

@klkvsk

Package Name: @microfox/rest-sdk
Occurred At: runtime
Error Description:

Cloudflare Workers do not allow any cache value except no-store in fetch(). It is best to left this option undefined by default.

All packages depending on rest-sdk where cache option is not configurable are unable to be used at Cloudflare Workers serverless environment.

Steps to Reproduce (Optional):

  1. install @microfox/aws-ses and implement sending email
  2. deploy script as cloudflare worker

Error Logs (Required) *:

Error: Failed to send email: Unsupported cache mode: default

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions