Okay – based on the ideas that I described earlier, I now have a working demo.
The problem as described, is that AJAX is not very good at coping with massive numbers of small function calls – the http requests gum up the networks.
The solution was to try to aggregate all the small calls into single http requests, run all the function requests on the server, and return the results as a single array.
Here are my results:
|old non-aggregated version||New KaeJAX Whiter-Than-White brand|
hah! i don’t think so – it was well too large to even bother replicating
|source code||source code|
Judge for yourself.
Pingback: klog» Blog Archive » a few web optimisation tips