View Single Post
Old 09-12-2012, 05:29 PM   PM User | #2
Alex Vincent
Moderator


 
Join Date: May 2002
Location: Hayward, CA
Posts: 1,427
Thanks: 1
Thanked 19 Times in 17 Posts
Alex Vincent is on a distinguished road
It's absolutely possible. You just have to be willing to incur the extra overhead of looking up the reference URL in one document, so you can find out what secondary document(s) you need to make another XMLHttpRequest for.

Where I work, we used to have a 2MB master XML file. I ran an experiment in PHP where I broke that file up into many smaller chunks. I saw performance improvements of 20x or better, trying to get the data we needed. So yes, sometimes breaking up the data set into smaller files is a good thing.
__________________
"The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
https://alexvincent.us/blog
Alex Vincent is offline   Reply With Quote
Users who have thanked Alex Vincent for this post:
shawhey (09-24-2012)