On Mon, Dec 3, 2012 at 6:15 PM, Kyle Simpson <[email protected]> wrote: > Adam- > >> To load and execute a script as quickly as possible, the author would >> use the following markup: >> >> <script async src="path/to/script.js"></script> >> >> The HTTP server would then break script.js into chunks that are safe >> to execute sequentially and provide each chunk as a separate MIME part >> in a multipart/mixed response. > > I like the spirit of this idea, but one concern I have is about the script > load and readystate events. It seems that authors will want to know when each > chunk has finished executing (in the same way they want to know that scripts > themselves finish).
Sure, you could imagine firing progress events or other sorts of events before or after each chunk executes. Adam
