On Mar 2, 8:36 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Is there a reason why the mozilla engine serializes the loading of CSS > > and JS files? > > It doesn't, actually.
Hmm.. I should do a test using a network sniffer instead of Firebug (it is possible that Firebug is the culprit). Firebug shows both CSS and JS files loading one at a time, never in parallel. It also shows them loading again and again even though their expires headers are set (Fiddler on IE does not show the same thing). I should turn Keep-Alive off just to factor that out, and retest. But I'm having a frustrating time getting Firefox to cache these files, and since it doesn't, I'm always noticing that the CSS files are not loaded simultaneously. As with the JS files. I expect them to be interpreted in order of course, I'm just talking about using bandwidth to help the overall page load speed. > > 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). I'll test that out, thanks! _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
