Extremely slow api routes in production
Unanswered
Asiatic Lion posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Asiatic LionOP
I have a pretty simple route to get an upload URL from s3. In dev, it's practically instant, but for some reason when deployed it's taking like 10 seconds. Does anyone have any ideas? I inspected, and it looks like most of the time is spent on "content download" which doesn't make sense to me...the response is an object with 2 properties that are just strings so it's extremely small.
Would appreciate any guidance.
Would appreciate any guidance.
![Image](https://cdn.discordapp.com/attachments/1231678410917417001/1231678411223863447/image.png?ex=6626b168&is=66255fe8&hm=ed28bcbef75aeb1aa1941fc923c0f2a46f4b99869a15f7caea121fc76be437b7&)
1 Reply
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Asiatic LionOP
Well, just did another one and that time all the time was on waiting for server response