<<

NAME

Koha::Template::Plugin::Cache - cache output of templates

SYNOPSIS

  [% USE cache = Cache %]


  [% cache.inc(
                   'template' => 'slow.html',
                   'keys' => {'user.name' => user.name},
                   'ttl' => 360
                   ) %]

  # or with a pre-defined Cache::* object and key

  [% USE cache = Cache( cache => mycache ) %]

  [% cache.inc(
                       'template' => 'slow.html',
                       'key'      => mykey,
                       'ttl'      => 360
                       )  %]

__END__

<<