estuary / data-plane-gateway

Other
0 stars 0 forks source link

Enable caching of CORS requests for `shards/list` #26

Open travjenkins opened 1 year ago

travjenkins commented 1 year ago

Request: Add cache headers to the response of CORS requests for shards/list

Reasoning: When the UI calls the data plane to get the status of shards it has to repeat CORS calls every time we call. This ends up being a lot since this call happens every 30 seconds while on an entity list page. image