Here is my problem:
I have a page which loads in about 10s (does page fetching/executing).
It currently outputs results as it goes, so the fastest section if displayed first. I flush throughout the loading process. However, I want to be able to categorize the pages.
Assume there are 10 pages loading, approximately five of these should be displayed above the other five. I want to be able to update both categories as pages are loaded.
So while loading a page I want to look for two different commands, then write to different page sections depending on the command. I'll continue writing until the other command is encountered.
I believe it is possible; however, I'm not sure about the implementation...?