CHI::Driver::Null(3pm) | User Contributed Perl Documentation | CHI::Driver::Null(3pm) |
CHI::Driver::Null - Nothing is cached
version 0.60
use CHI; my $cache = CHI->new(driver => 'Null'); $cache->set('key', 5); my $value = $cache->get('key'); # returns undef
This cache driver implements the full CHI interface without ever actually storing items. Useful for disabling caching in an application, for example.
CHI
Jonathan Swartz <swartz@pobox.com>
This software is copyright (c) 2012 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2017-07-31 | perl v5.26.0 |