Re: Memoize.pm and mod_perl

2003-07-15 Thread Stas Bekman
[EMAIL PROTECTED] wrote: Has anyone used the Memoize module extensively in a mod_perl environment? I am thinking of using it to cache queries from the database, particularly for lookups (somthing like $obj->get_name_from_id()). In many cases the data is static so I don't mind is staying over from o

Re: Memoize.pm and mod_perl

2003-07-14 Thread Bill Marrs
I don't know anything about Memoize, but perhap db-level caching would work for you? If you user MySQL, Mysql 4.0.1 and beyond has Query Caching capabilities built into it. http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Query_Cache -=bill

Re: Memoize.pm and mod_perl

2003-07-14 Thread Perrin Harkins
On Mon, 2003-07-14 at 14:12, [EMAIL PROTECTED] wrote: > Has anyone used the Memoize module extensively in a mod_perl environment? I'd suggest you use Cache::FileCache, MLDBM::Sync, or Cache::Mmap instead. Memoize is cool, but unnecessary if you are planning ahead like this. - Perrin

Memoize.pm and mod_perl

2003-07-14 Thread sxm124
Has anyone used the Memoize module extensively in a mod_perl environment? I am thinking of using it to cache queries from the database, particularly for lookups (somthing like $obj->get_name_from_id()). In many cases the data is static so I don't mind is staying over from one request to the ne