[Templates] Templates Cached to Disk

Craig Barratt craig@arraycomm.com
Sat, 16 Mar 2002 12:18:52 -0800


> Sounds like it might be the problem of the race condition in the compiled 
> files.  Something starts writing the compiled template file and another
> process steps in and starts reading it before its finished.
> 
>    http://tt2.org/pipermail/templates/2001-November/002142.html
> 
> The solution is easy (create a temporary file using File::Temp, write
> compiled template to that, then rename it into place) but I haven't got
> around to it yet.

...and here's an earlier reference to the same issue:

    http://tt2.org/pipermail/templates/2001-October/001847.html

Craig