CGI::Application::Plugin::Cache::File - Caching support using Cache::File
use CGI::Application::Plugin::Cache::File; #in sub cgiapp_init $self->cache_config( cache_root => '/tmp/cache', default_expires => '600 seconds' ); #in some runmode $self->cache->set('foo','bar'); my $cached = $self->cache->get('foo');
CGI::Application::Plugin::Cache::File makes it easy to use cached data and be able to share it with different processes.
This creates the Cache::File instance within CGI::Application. Any arguments are passed on to Cache::File's constructor method. See Cache::File#PROPERTIES for details.
If successful, this function returns the Cache::File instance created.
This returns the Cache::File instance within CGI::Application. You can call any Cache::File instance method on it. See Cache::File for details.
CGI::Application, Cache::File, perl(1)
Job van Achterberg <jkva@cpan.org>
Copyright (C) 2009 Job van Achterberg <jkva@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install CGI::Application::Plugin::Cache::File, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Application::Plugin::Cache::File
CPAN shell
perl -MCPAN -e shell install CGI::Application::Plugin::Cache::File
For more information on module installation, please visit the detailed CPAN module installation guide.