[Templates] Negative Caching

Tatsuhiko Miyagawa miyagawa@gmail.com
Fri, 9 Feb 2007 17:37:51 -0800


We had the similar issue in Six Apart and we applied the following
patch to Template::Provider:
http://www.template-toolkit.org/pipermail/templates/2006-October/009056.html

HTH

On 2/9/07, Bill Moseley <moseley@hank.org> wrote:
> I'm using a combination of a database and file system storage for
> templates.  I use $STAT_TTL to keep from hitting the mostly static
> template very often.
>
> I also use more than one path in INCLUDE_PATH and unfortunately, most
> of the template "hits" are in the last path listed in INCLUDE_PATH.
>
> Since only found templates are in the cache, and STAT_TTL only applies
> to items in the cache, every request still stats all the template
> paths in INCLUDE_PATH dirs
>
> Anyone else dealt with this issue before?
>

-- 
Tatsuhiko Miyagawa