>
> 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
.
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
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
>
> 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
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
As part of my performance tuning, I thought I'd also give the new caching
functionality a whirl. I did get it to work, and when it did, it worked very
well (thanks Gerald). BTW, I found some posts from people that want the cache
to be disk-backed, but I MUCH prefer it to be in memory, as being d