Added a cache disabling config option for developers who are testing

performance.
This commit is contained in:
JT Smith 2005-04-28 22:34:42 +00:00
parent 4b101e3dc9
commit 25319188b0
5 changed files with 22 additions and 2 deletions

View file

@ -102,6 +102,7 @@ Retrieve content from the filesystem cache.
=cut
sub get {
return undef if ($session{config}{disableCache});
return $_[0]->{_cache}->get($_[0]->{_key});
}