NAME
Template::Plugin::Memcached - Cache::Memcached::Fast for Template Toolkit
SYNOPSIS
[% USE Memcached(
servers=>[{ address => 'localhost:11211', weight => 2.5 }, '192.168.254.2:11211', {address=>'/tmp/memcached.sock'}],
namespace => 'my:',
connect_timeout => 0.2,
io_timeout => 0.5,
close_on_error => 1,
compress_threshold => 100_000,
compress_ratio => 0.9,
compress_algo => 'deflate',
max_failures => 3,
failure_timeout => 2,
ketama_points => 150,
nowait => 1
)%]
[% Memcached.get('keys') %]
DESCRIPTION
Cache::Memcached::Fast is a plugin for TT.
AUTHOR
Kostya Ten <kostya@bk.ru>
SEE ALSO
COPYRIGHT AND LICENSE
Copyright 2008 by Kostya Ten.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.