Added a cache disabling config option for developers who are testing
performance.
This commit is contained in:
parent
4b101e3dc9
commit
25319188b0
5 changed files with 22 additions and 2 deletions
|
|
@ -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});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue