Template::Plugin::AddTime - TT filter plugin to add file modified time
# in template [% use AddTime %] [% AddTime('t/Template/Plugin/addtime\.t') -%] # result t/Template/Plugin/addtime\.t\?1231163490 # or with a base path [% USE AddTime('tmpl/static') -%] [% '/js/prototype\.js' | addtime -%] # adds modified time of tmpl/static/js/prototype\.js /js/prototype\.js\?1231163490
Template::Plugin::AddTime is a TT filter plugin to add file modified time
You may want to use this module when you want to force browsers not to use their cache when file modified at your server.
Masakazu Ohtsuka (mash) <email@example.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.