Web apps should send flat HTML to the client. Following that, they should send a small bit of javascript to respond to clicks with a "please wait a moment" and cache the clicks. After that, the application can be loaded and can take over all the clicking and keyboard events.<p>This would reduce startup latency tremendously.