in reply to Re: Database driven web content: live or tape?
in thread Database driven web content: live or tape?

I am drooling at the thought of using mod_perl but unfortunately I don't have that option (I am hosted on pair Networks and they don't offer mod_perl). I expect to setup and teardown a DBI connection with each uncached page hit, so after a page has been hit once, we just go to the cache for it after that.

I may well set the expiry date to half an hour in the future so that the cache doesn't get too stale.

--t. alex

"Mud, mud, glorious mud. Nothing quite like it for cooling the blood!"
--Michael Flanders and Donald Swann

Replies are listed 'Best First'.
Re: Re: Re: Database driven web content: live or tape?
by mattr (Curate) on Jul 22, 2002 at 03:38 UTC
    I wonder if it would be possible to simulate the persistent db handle of mod_perl with an IPC connection to a separate cgi process. Supposedly could renew itself every few minutes if the provider limits processing time.