[webui] Speedup perceived index page loading time by deferring system status.
authorSascha Peilicke <saschpe@suse.de>
Fri, 26 Aug 2011 10:34:24 +0000 (12:34 +0200)
committerSascha Peilicke <saschpe@suse.de>
Fri, 26 Aug 2011 10:34:24 +0000 (12:34 +0200)
commita9f4f55ee25602b2a57c76e85d2e289f46d76852
treee225589f152ce0600d9060d57786265f21c37d33
parent35231fb77fc716a8a049442eb7303467ae67bf83
[webui] Speedup perceived index page loading time by deferring system status.

Actually doesn't speed up anything, but at least the page appears after
1s (not 3s) so that users can start feeling the OBS awesomeness earlier.

Note: This leaves some room for fragment caching the rendered
'systemstatus' partial to speed up things even more...
src/webui/app/controllers/main_controller.rb
src/webui/app/views/main/_systemstatus.html.erb [new file with mode: 0644]
src/webui/app/views/main/index.rhtml