5 ms·Because it's generated server side.by troels 15y agoBecause it's generated server side.swah 15y agoWhat are the advantages of concatenating the data with the JS vs making a request? Only page load time?guptaneil 15y agoYou can't make a cross-domain ajax request, so all of the data needs to be included with the JS.swah 15y agoI had never thought of doing this. Its a great idea. How widespread is this technique?slig 15y agoQuite, it's mostly used as JSONP. See http://en.wikipedia.org/wiki/JSONP http://en.wikipedia.org/wiki/JSONP