perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Using EmbPerl's Caching Functionality
Date Thu, 22 Dec 2005 05:58:36 GMT
>  
>  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 put the CACHE directives inside <Location> or
<Files> block to limit it to only some page

>  
>  The only awkwardness I'm now seeing is that Embperl seems to 
> sometimes call the cache_key_function multiple times per 
> request. I added a 'print STDERR 'FOO' to the sub, and I 
> occationally see the message get printed multiple times (~11).
>  

Ok, there are surely some potential for optimizations...

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message