Moving this from another repo which is now archived. Created by @weejimmy .
In normal operations the edge function should execute quickly, but if (for example) one of the external APIs it calls is running slowly / not responding it would be good to make sure that is handled in a way that proritises performance.
For example, no response within x number of miliseconds results in a 'fail fast' approach where the HTML is returned unedited to the client.
Moving this from another repo which is now archived. Created by @weejimmy .
In normal operations the edge function should execute quickly, but if (for example) one of the external APIs it calls is running slowly / not responding it would be good to make sure that is handled in a way that proritises performance.
For example, no response within x number of miliseconds results in a 'fail fast' approach where the HTML is returned unedited to the client.