diff options
author | Ben Coburn <btcoburn@silicodon.net> | 2007-08-10 06:04:30 +0200 |
---|---|---|
committer | Ben Coburn <btcoburn@silicodon.net> | 2007-08-10 06:04:30 +0200 |
commit | 9a59099f74d5e480db5bfde1f63bc4ee9dfd027c (patch) | |
tree | 1940f92b8a9f511978fa2514d883d0e31fb51042 /lib/scripts/helpers.js | |
parent | d4db9fb915e13c43b0a929c5203d4f086715bee1 (diff) | |
download | rpg-9a59099f74d5e480db5bfde1f63bc4ee9dfd027c.tar.gz rpg-9a59099f74d5e480db5bfde1f63bc4ee9dfd027c.tar.bz2 |
Optimize loading the index with AJAX
Improves the perceptual latency of the AJAX based index view.
- Only show the throbber for AJAX calls that are slow.
Currently this applies to calls that take more than 500 ms.
- Reuse the results of AJAX calls.
This makes a namespace open, close, open, cycle much faster.
Also reduces the number of AJAX calls to the server.
(To reload the index, just reload the page as usual.)
darcs-hash:20070810040430-05dcb-1a4bcdb19c599ea74d1a3d2cc758753d19ef6eee.gz
Diffstat (limited to 'lib/scripts/helpers.js')
0 files changed, 0 insertions, 0 deletions