openphacts / coreGUI

This is the repo for the central GUI API and GUI components code
GNU General Public License v3.0
6 stars 1 forks source link

Slow UI Loading #8

Open leeharland opened 12 years ago

leeharland commented 12 years ago

Univie feedback via Paul Groth

askjaer commented 12 years ago

This is because the web server runs in development mode. It will become a lot faster once we compile the Javascript and run the web server in production mode. We do this at Lundbeck and the load goes from 10-15 seconds to less than half a second.

pgroth commented 12 years ago

What's the difference between production and development mode in terms error output? Can we still run the server in devmode and get important debugging information? If we still get appropriate output we can run it on the production server in the faster mode.

askjaer commented 12 years ago

It is easy to configure the verbosity level of the log. By default it is very sparse in production but it can be made to be just like in the development mode. Only down side of production mode is that the javascript needs to get 'compiled'/build into one file which needs a bit of setting up on the server.