Is there a way I can see what is causing the increase in Fast Origin Transfer? I assume this is because I send images and audio files with the api everything I send increases this?
BTW I see 97% Incoming vs Outgoing. Does it mean it is not the audio or images but the API response I am getting which is streaming AI text.
In Observabilility, I don’t see anything related to Fast Origin Transfer. Should I assume it is the same as vercel functions?
Incoming Fast Origin Transfer will be any data sent to your Vercel deployment, (which usually means POST requests). If you’re sending files then that’s almost definitely the culprit, so reducing the number of bytes you send will directly improve this metric
If users are sending large images to be analyzed, you can usually get away with resizing images to be quite small before running into issues understanding the contents
Some third party processors will allow you to upload directly to them from your client (like via a signed URL) and bypass your backend entirely
@jacobparis is there any way to see what’s using the fast origin transfer? A breakdown of sorts? I’m trying to reduce fast origin transfer on my app. Added unstable_cache that presumably shouldn’t transfer from the origin but I’m seeing no improvements.
I think a lot of my fast origin transfer is due to server fetches on a few expensive pages (using ISR is a no go as it’s too expensive), but without being able to see a breakdown, I don’t know what I should be optimising.