Skip to content
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

avoid triggering preflight for every RPC call #2252

Open
lidel opened this issue Aug 30, 2024 · 0 comments
Open

avoid triggering preflight for every RPC call #2252

lidel opened this issue Aug 30, 2024 · 0 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@lidel
Copy link
Member

lidel commented Aug 30, 2024

(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

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

@lidel lidel added the need/triage Needs initial labeling and prioritization label Aug 30, 2024
@lidel lidel mentioned this issue Aug 30, 2024
34 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/triage Needs initial labeling and prioritization
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant