krakenjs/fetch-robot
View on GitHub ↗ ★ 157 JavaScript archived
Proxy fetch through an iframe
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2018-09-02 · latest 2022-09-20
20082026
-
I built fetch-robot ( https://github.com/krakenjs/fetch-robot ) to avoid dealing with CORS preflight requests. And the associated maze of request and response headers you need to use to negotiate in the preflight.
comment by bluepnume · 2022-09-20 · in Cache your CORS -
I built out https://github.com/krakenjs/fetch-robot to avoid some of the esoteric issues around CORS endpoints -- and to avoid the performance hit of that preflight request. It acts as a `fetch` implementation that allows you to declare…
comment by bluepnume · 2018-10-04 · in Do You Really Know CORS? -
I built a little library to help solve this problem: https://github.com/krakenjs/fetch-robot All requests are channelled through an iframe on the domain you want to make requests to; then the iframe publishes a policy for which requests…
comment by bluepnume · 2018-09-02 · in The Performance Cost of CORS Requests on Single-Page Applications