Page 1 of 1

Lowering total app size (to be downloaded)

Posted: Thu Mar 31, 2016 7:26 am
by _Marc_
I've tested the Gadget example and noticed that the total internet data is about 2,6MB (to be downloaded), while the (more comprehensive) web example of Xojo is "only" 1MB:

http://demos.xojo.com/EEWeb/

Can this be optimized?

Re: Lowering total app size (to be downloaded)

Posted: Thu Mar 31, 2016 7:39 am
by Fred
We use DOJO which is a bit big but provide a lot of functionality. You could probably use a CDN fro DOJO if you don't want your website to serve this (google provide some free). I don't think it can be optimized.

Re: Lowering total app size (to be downloaded)

Posted: Thu Mar 31, 2016 8:57 am
by _Marc_
Fred wrote:We use DOJO which is a bit big but provide a lot of functionality. You could probably use a CDN fro DOJO if you don't want your website to serve this (google provide some free). I don't think it can be optimized.
It's not that my website can't serve it, but only a matter of speed and data costs. On a desktop this isn't a problem of course, but I'm only thinking about mobile (phone or tablet) use.

Will/can this framework be cached?

Re: Lowering total app size (to be downloaded)

Posted: Thu Mar 31, 2016 9:44 am
by Fred
Yes, it will be cached by the browser