3 ms·
i agree. JSON for "simple" data structures if you want to save bandwith, XML if you want to have more complicate structured documents with markup.
by metachris 17y ago
i agree. JSON for "simple" data structures if you want to save bandwith, XML if you want to have more complicate structured documents with markup.
- jacquesm 17y agoThat's a tough one. Ideally the javascript would render the page so that the absolute minimum would be transmitted across the line, basically just the raw data once per page, the javascript would stay cached on the clients machine. But sending markup along would make the whole thing considerably easy to implement, I think (but this could be just a wrong gut feeling, I'll have to figure that one out).