Skip to content

[Cloudflare Pages] The 'cache' field on 'RequestInitializerDict' is not implemented. #173

Closed
@samiy803

Description

@samiy803

On certain edge runtimes like Cloudflare (possibly others too), fetch() doesn't implement the cache field. As such, it produces an error:

// POST https://redacted.pages.dev/api/login
  "logs": [
    {
      "message": [
        {
          "code": "INTERNAL_ERROR",
          "message": "Internal error: The 'cache' field on 'RequestInitializerDict' is not implemented."
        }
      ],
      "level": "error",
      "timestamp": 1715189441063
    }
  ],

See: cloudflare/workerd#698

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions