The container control loads a bunch more container controls to display dynamically, allowing scrolling
Works great running in the debugger
On XojoCloud every time the page is called again it takes an exponentially growing amount of time - after a couple instances it can take minutes to load.
I’ve tried not creating a new instance of the page, but using the same one and just refreshing contents, but that isn’t working
I’ve played with both implicitInstance and not and it isn’t impacting it.
I really feel strongly that there needs to be a way to debug on XojoCloud because the behavior just doesn’t always mirror what we see on the other platforms. Does anyone know if running on Linux or a raspberry π would better simulate Xojo Cloud?
Back to the issue: Has anyone else witnessed and dealt with these symptoms - any tips and tricks or remedies?
The big issue here is that a web app running in a data center introduces latency. That is, time between when the browser makes a request and the server receives it. Then again when the server transmits a response and the browser receives it. It’s typically counted in milliseconds but the bigger the thing is, the longer it takes. When you run locally, there is no latency.
The other thing is that web servers are typically not as beefy as our desktop computers are these days. You should be able to use the xojocloud graphs to see if the CPU is spiking when a request is made.
As far as the exponential speed issue, make sure the list of things being sent is not being sent over and over.
I get all the latency and CPU power issues between a vertical server and my workstation. I think this is tuned fairly well now but I’ll come back to this post if it slides.