Xojo.createNamespace

Hi all,

There is something that I may have misunderstood with the namespace.
Each of my WebControlWrapper has a “JavascriptNamespace” constant. As I have arrays of controls, there are many. They all share the same namespace. The first Open request send 180 “Xojo.createNamespace (myNamespace);”. As all these lines are identical, this is a resource consumption that is useless. How to make so that there is a single line of command?

olivier

You don’t. That’s an optimization that we need to do here.

The good news is that if the browser supports it, we gzip the response, so worst case you’d only be sending the data once anyway.

There, fixed.

feedback://showreport?report_id=38284

Thank you Greg.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.