RE: Using EmbPerl's Caching Functionality

2005-12-21 Thread Gerald Richter
> > I don't see a way to explicity tell EmbPerl to 'not cache' > certain pages. I ended up making the cache_key_func call > another sub that performed additional logic to set the key to > "", and I used a EMBPERL_EXPIRES_FUNC to always expiring > those queries. > Another way would be to

Re: Using EmbPerl's Caching Functionality

2005-12-21 Thread Carl Eklof
. Happy Holidays, -Carl - Original Message From: Gerald Richter <[EMAIL PROTECTED]> To: Carl Eklof <[EMAIL PROTECTED]>; embperl@perl.apache.org Sent: Wednesday, December 21, 2005 00:13:30 Subject: RE: Using EmbPerl's Caching Functionality Hi, > 1) I couldn't g

RE: Using EmbPerl's Caching Functionality

2005-12-20 Thread Gerald Richter
Hi, > 1) I couldn't get EMBPERL_CACHE_KEY_FUNC, or > EMBPERL_EXPIRES_FUNC to work in my httpd.conf (and I do have > Embperl_UseEnv on) Trying to set either one would cause > Apache to seg fault. > >... > Does anybody have any working sample of the EMBPERL_CACHE_KEY_FUNC? > The attached

RE: Using EmbPerl's Caching Functionality

2005-12-20 Thread Gerald Richter
> > Setting > > EMBPERL_CACHE_KEY_FUNC "sub {$ENV{REQUEST_URI}}" > or > EMBPERL_EXPIRES_FUNC "sub {1}" > > ...and making a request would cause the following in the error_log: > > [Mon Dec 19 16:38:23 2005] [notice] child pid 9518 exit > signal Segmentation fault (11) > Do you hav

Re: Using EmbPerl's Caching Functionality

2005-12-19 Thread Carl Eklof
I should have included my version info: EmbPerl 2.0.0 (official release, not a beta) Apache 2.0.54 - Original Message From: Carl Eklof <[EMAIL PROTECTED]> To: embperl@perl.apache.org Sent: Monday, December 19, 2005 17:14:15 Subject: Using EmbPerl's Caching Functionality As part of my