Quote:
|
Originally Posted by takiye A more clear explanation, can u? :confused:
I installed this hack, and is expected to know its benefit. |
Everytime you load a page (I'm not sure if it's every page, but most) on a vB board, the server looks at it's list of scheduled tasks and sees if any are due to run. If they are, it runs them.
If the task is quite big and takes a while then whoever is loading the page has to wait until the task has finished before the rest of the page loads (or something very similar to that anyway).
What this hack does is replaces that method of starting scheduled tasks with an AJAX based one, meaning that the task will run in the background but the person surfing the site won't have to wait for it to finish before getting their page.
Since cron jobs are quite rare (in relation to the number of pageloads) and most of them are pretty quick, you'll find it hard to notice any visible gain, but it is there.