[Dancer-users] activate cache based on memory usage

Maurice Mengel mauricemengel at gmail.com
Thu Dec 23 18:09:54 CET 2010


Dear Dancers,

i would like to activate my caching mechanism if perl uses more than a
certain amount of memory.

Two questions
1) is this the right approach or should I look for some other
criterion to active cache?
2) How to do it?

I looked at
- http://perldoc.perl.org/perldebguts.html#Debugging-Perl-memory-usage and
- Memory::Usage, but this seems not to work from under Dancer.

Thanks!

Maurice


More information about the Dancer-users mailing list