504 timeout for large data request
have an api where i am fetching data with different timeframes. when i select the timeframe of "all time" it returns back my history. I have not hit a point where one user is getting a 504 and is annoyed they cant see their all time data. What is the best way to handle this in a serverless env?
1. Batch Request on client?
2. vercel config? up limit or max response?
3. other?
1. Batch Request on client?
2. vercel config? up limit or max response?
3. other?
