Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm running a site which uses a script with some pretty heavy processing to do on user input, to generate a new page. This means that the user has to wait a long time for the next page, which is not good.
I have redesigned the script to update a database then go to the previously printed version of the page, which is instant, but doesnot contain the changes. That's okay because it frees them up to carry on working. My question is how can I action a script to create a new page in the background so that the next time the user inputs, the new page is ready to view?
I am currently doing this by cron but I would prefer the update to be actioned by the user during the use of the script, on the basis that the update script is 'pinged' but operates independently so the user can go ahead with the next task, without being delayed by the processing.
I'd be interested in the thoughts anyone might have to action this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: calling one cgi script from another
by jimt (Chaplain) on Feb 20, 2007 at 17:38 UTC | |
by Anonymous Monk on Feb 20, 2007 at 19:52 UTC | |
by Anonymous Monk on Feb 21, 2007 at 17:51 UTC | |
by derby (Abbot) on Feb 21, 2007 at 17:57 UTC | |
by Anonymous Monk on Feb 21, 2007 at 18:18 UTC | |
by derby (Abbot) on Feb 21, 2007 at 18:23 UTC | |
|
Re: calling one cgi script from another
by GrandFather (Saint) on Feb 20, 2007 at 20:04 UTC | |
|
Re: calling one cgi script from another
by varian (Chaplain) on Feb 21, 2007 at 08:15 UTC | |
|
Re: calling one cgi script from another
by coontie (Sexton) on Feb 20, 2007 at 19:32 UTC |