Most of TT's audience seems to be folks who got root. Might be hard to convince
them ... have you tried PHP?
jeffa
--- Chris Ochs <chris-2qkRfXFq8ok8RZtLRHdnRF6hYfS7NtTn@xxxxxxxxxxxxxxxx> wrote:
> I have a question and maybe a proposition. In Provider.pm _fetch_path if a
> template is found in the memory cache, no check is done to see if the
> template itself is still on disk. Especially in a hosted environment this
> is a potential problem because you essentially cannot delete a template page
> without restarting the webserver.
>
> At first I set out to just add a delete function to Provider to delete a
> single template from the cache, but templates are cached per process so that
> didn't work.
> Could a runtime directive be added that controls this behavior? I
> subclassed _fetch_provider myself to have it do a stat based on an
> enviroment variable that I can set for individual <Location> or
> <Virtualhost> directives. Works for me but I'm thinking maybe this should
> just be a core feature?
>
> Chris
>
>
>
>
>
>
>
> _______________________________________________
> templates mailing list
> templates-MnLy+PD7ppGDO3lXZvfOKmD2FQJk+8+b@xxxxxxxxxxxxxxxx
> http://lists.template-toolkit.org/mailman/listinfo/templates
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you?re looking for faster
http://search.yahoo.com
|