I'm trying to build an ajax script loader, but I'm running into the issue where I'm sending pieces of my combined file over twice (ie. jquery, bunched up with other scripts, is getting sent over twice because it's required by some (ajax) requested script sent over the wire.
My first thought was that I would just append md5 chunks onto the file name and if the requested script matches a piece of that, don't send - but this doesn't scale well for say.. 100 bundled scripts.
Anyone have any other suggestions?
Thanks!
Matt Mueller