Mason::Plugin::Cache

Provide component cache object and filter
Download

Mason::Plugin::Cache Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Jonathan Swartz
  • Publisher web site:
  • http://search.cpan.org/~jswartz/CHI-0.07/lib/CHI.pm

Mason::Plugin::Cache Tags


Mason::Plugin::Cache Description

Provide component cache object and filter Mason::Plugin::Cache is a Perl module that adds a cache method and Cache filter to access a cache (CHI) object with a namespace unique to the component.SYNOPSIS my $result = $.cache->get('key'); if (!defined($result)) { ... compute $result ... $.cache->set('key', $result, '5 minutes'); } ... % $.Cache('key2', '1 hour') {{ % }} Requirements: · Perl


Mason::Plugin::Cache Related Software