I find that it is an extremely common occurrence that my CloudScript functions will exceed the time limit when they haven't run in some time. That is clearly because the first time they are run, they are loaded onto the server which takes some time. Subsequent calls run faster because of this.
Since CloudScript functions only allow a very small amount time before they timeout (5 - 10 seconds), I find it a little unfair that the time it takes to load them onto the server is counted towards the timeout limit. It makes it such that I need to rely on retry logic everywhere that a cloud function is called on my front-end.
Does anyone else have this issue and is there some general advice about this?
Thanks in advance.