>> I'm relatively new to mod_perl... I've got a 700k file that is loaded each
>> time I run a CGI script, so I'm hoping to cache the file using mod_perl
>> somehow. The file will change occasionally (maybe once a week) - the reload
>> of a few seconds isn't worrisome, but it has to be done without restarting
>> the server.
>
>Boy you sure got some complex answers...

You know, I really was thinking the same thing myself, but I'm new with
mod_perl, so I thought it was normal. Funnily enough, I got some offlist
replies about how sending signals causes memory leaks (and how the mod_perl
people won't admit it), and how Stas flips out a lot. Ah well...

>I store a .stor file which is a storable dump of my XML tree. I check the
>mtime of that against the mtime of the .xml file. Whichever is newer I
>load that. Works fast and is very simple.

I'll certainly check it out. I also started looking into SAX to see if I
could do something with that as well, and that looks promising too. Tell
me, is there some write up of the differences between XPath and SAX? And
why I should use either one?

-- 
      ICQ: 2927491      /      AOL: akaMorbus
   Yahoo: morbus_iff    /  Jabber: [EMAIL PROTECTED]
   [EMAIL PROTECTED]   /   http://www.disobey.com/

Reply via email to