ipfs / ipfs/ipfs-webui

avoid triggering preflight for every RPC call

Open
#2,252 0 comments 0 reactions 0 assignees View on GitHub
need/triage
Dominant language
JavaScript
Stars
1.6k
Forks
534
PR merge metrics
No merged PRs in 30d

Description

(did not look into this too deep, filling issue so we dont forget to investigate at some point)

Right now (v4.3.0) in Chrome v128 every RPC call done cross origin (https://webui.ipfs.io/, https://bafybeiev6pghzkw7bnyt73sompnrszdwjfuvyzl5tg43v5bfwewqn7an4a.on.fleek.co/) triggers a preflight call (?):

> ![image](https://github.com/user-attachments/assets/8918b9f6-26de-4263-b86a-7f91f004e523)

We should see if we can avoid this, perhaps by adjusting cache control or `Access-Control-Max-Age` headers returned by Kubo.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.