This content has been marked as final. Show 4 replies
My first thought would be that the browser prevents the number of simultaneous downloads Some browsers only allow 2 open sockets to one domain, other browsers allow more. I do use ModuleLoaders as-well, but then programatically... I basically execute one load at a time and even if I request 4 or more modules, they all get loaded.
Could you setup something like this aswell?? Should be fairly easy to try i think. I also noticed that the caching only works once, so upon subsequent calls it will use the cached SWF file and will not instruct to really load a new version, however this was checked with quick testing only.
That could be it. Seems like something that should be transparent to the end user (me) tho. Unless you are using ViewStack, etc., this is like the simplest usage of modules, and yet it breaks without an error message or anything.
I confirm that as well, even more, sometimes READY event does not fire at all, even thought there is module load called . for at least one module (currently I am talking about 6 modules ) .
quote :---- Some browsers only allow 2 open sockets to one domain -----
that worries me a little, is there any specification that says about this? or its just up to the browser wendor's PM mood?
It's vendors browsers mood... :D
Read here a bit more about it : http://www.stevesouders.com/blog/2008/03/20/roundup-on-parallel-connections/
It's also that reason why you cannot upload let's say 4 files at a time, but they are scheduled after each other.
As you might have noticed is that google and yahoo maps send images from different services, not only to balance and offload there server, but also to make sure more then 2 parallel sessions are openend to service you the images as fast and simultaneously as possible.
I think in feature the limit will be reased to 4-6 connection, but properly not to high as well because on the server you need much more resources...