Hi Everyone,

I am currently working on an app. The app is still in development. I have
deployed it to a test server online.

 The app can be access on this url below

 http://140.238.127.236:8081/spaciofm/js-debug/index.html

 I noticed that the app loading time is slow. It takes up to 20 seconds to
load the application. I have checked to see other royale apps
e.g the adobe spectrum demo, jewel tour de jewel demo and the mdl example
demo. Those apps load much faster.



My maven compilation settings is as follows

  <royale.showbindingWarnings>-compiler.show-binding-warnings=false;</
royale.showbindingWarnings>
        <royale.sourceMapSettings>-source-map=true;</
royale.sourceMapSettings>
        <royale.jsDefaultInitializers>-js-default-initializers=true;</
royale.jsDefaultInitializers>
        <royale.jsDynamicAccessUnknownMembers>
-js-dynamic-access-unknown-members=true;</
royale.jsDynamicAccessUnknownMembers>
        <royale.targets>JSRoyale</royale.targets>
        <royale.debug>true</royale.debug>
        <royale.mxroyale.css>
-compiler.exclude-defaults-css-files=MXRoyale-0.9.7-js.swc:defaults.css;</
royale.mxroyale.css>


I will like to ask what could be the reason for the slow load times ?

As the app is currently in development is there a need to compile to
release mode to get fast load times ?

The file size of the debug version is currently 7mb. I am deploying it in a
spring boot embedded tomcat server.


Any ideas ? I would like to tackle this early in the development phase.

Regards,

Roman,

Reply via email to