|
|||||||||
|
Minimizing response timesCGI scripts are normally invoked in response to a request from a user. Although the user may be accustomed to delays caused by the network it is generally not a good idea to perform lengthy processing. It is often better for the program to spawn another process to perform the actual processing, and for the original program to output a document saying that processing has been initiated. It may be useful to include a link in this document with enough state information embedded to allow a second script to determine and return information about the status of the spawned program.
Spinning the Web by Andrew Ford |
||||||
Copyright © 1996-2002 Ford & Mason Ltd |