[EMAIL PROTECTED] wrote:
Is there a reason why the mozilla engine serializes the loading of CSS
and JS files?

It doesn't, actually.

What _is_ serializes is execution of scripts (earlier ones have to execute earlier) and parsing (once a </script> is parsed, nothing else is parsed until the script executes; similar for </style> and </link>).

As for why, for scripts it's needed for web compat. For stylesheets, it was put in as a quick fix kinda thing; we're working on changing it (see https://bugzilla.mozilla.org/show_bug.cgi?id=84582).

Is there a way to cause it to download more than one at
a time as it does images?

Sure. Insert the script or stylesheet tags from a script; then they'll all download in parallel (though the scripts will still run one at a time, of course).

-Boris
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to