ipfs-webui icon indicating copy to clipboard operation
ipfs-webui copied to clipboard

avoid triggering preflight for every RPC call

Open lidel opened this issue 1 year ago • 0 comments

(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 avatar Aug 30 '24 20:08 lidel