[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] RFC: CGI::Application::RunModeCache


Hi Sam,

> -----Original Message-----
> Why not just Memoize the methods that access Gedcom.pm?  It's not
> obvious to me that caching the entire page is right choice here.
> Often-times an application will include dynamic components and static
> cacheable components on the same page.

Well, you're probably right. Since I don't have any dynamic components in
the app to speak of, that aspect never crossed my mind. I'll have to think
about it -- and I'll probably come out to the conclusion that in a lot of
situations the caching in my module is happening at the wrong "level".
 
> > Cache::FileCache is used by default, but you can pass in your own
> Cache::*
> > to replace it.
> 
> The Cache::* modules are quite slow in my experience.  I've used
> Cache::Mmap for disk-based caching and I've heard Cache::FastMmap is
> even better.

I'll check 'em out.

Thanks!

-Brian


http://www.gordano.com - Messaging for educators.

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.