All posts by heydona

webflush command

Add a command to flush the current contents of $webinfo() back to the browser before all of the processing within the request has completed. Most web requests (both SSP and DSP) have some housekeeping code to do at the end of the request, eg. saving state, logging, temp file cleanup. It would be nice if the browser did not have to wait for these activities and could receive content sooner rather than later. Currently we are doing some of this work by invoking an async server, but this is a pretty heavyweight approach.