摘要 |
A method for downloading a web application and script files to a computing device from a set of servers includes creating, by a browser thread, a web worker thread, and receiving, in the web worker thread, a request from the browser thread where the request includes identifiers for the script files. The method includes issuing, from the web worker thread, a set of requests for the script files to the set of servers based on the request message, and receiving, in the web worker thread, the script files from the set of servers. The method includes issuing, from the web worker thread, a set of messages to the browser thread, wherein each of the messages includes at least one of the script files, and executing the script files in the browser thread in an order specified by the identifiers. |