Maybe HTTP/2 could help a bit, or WebSockets, or doing stuff in batch making less requests? Or maybe there just isn’t one quick fix and going back to the whiteboard and rethink the whole event system is the only right decision in the long run. I can’t see an immediate fix for this problem. As demonstrated in my previous post, adding 100 components does 200+ roundtrips to the server, it even happens for events like shown and hidden. That is why the golden rule is: avoid many roundtrips to the server at all costs!īut here is the rub: this is exactly what Xojo’s event system does by design. You can not assume your users are living next door to your server. Well, of course that may be a variable in the equation! But, this is something EVERY web app builder has to take into account. Xojo is giving as the main reasons for such slow behavior the distance from the server, latency, number of hops and the quality of your network connection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |