Re: [PHP] register_shutdown_function vs require (with pseudocode example)

2002-02-20 Thread Arpad Tamas
Hi, No one has any idea on this topic? Or the question wasn't clear? Thanks, Arpi Hi again, I read my email back and found a little hard to understand :)), so I thought a code exmplae might help. It's just pseudo code for explaining how my cache works: //simplified main code if

[PHP] register_shutdown_function vs require

2002-02-19 Thread Arpad Tamas
Hi, I'm trying to make some kind of caching system that first delivers the old page, and then regenerate the new one in the background. I achieved this with register_shutdown_function(). The registered function starts the real work, the normal php script just delivers the old page (of course

Re: [PHP] register_shutdown_function vs require (with pseudocode example)

2002-02-19 Thread Tamas Arpad
Hi again, I read my email back and found a little hard to understand :)), so I thought a code exmplae might help. It's just pseudo code for explaining how my cache works: //simplified main code if page is in cache { deliver the old one register_shutdown_function(regenerate) }