On 9/20/06, Clinton Gormley <[EMAIL PROTECTED]> wrote:
which is perfect for development, but I was wondering if it would speed
things up in production if I could disable the disk check, so I can tell
TT that it should use the templates as they are compiled, and not check
for more recent versions.

I have a similar need.  I couldn't find a solution, so we ended up
storing the template files in memory and bypassing the TTk's file
loading system.  Startup memory usage is considered cheaper than the
extra file processing.

Besides the above concern, another important reason we want this in
production is so that when we push a new version it doesn't take
effect until we bounce the server.  In particular we wouldn't want it
using a mix of old and new file versions during the middle of a code
push.

--
Help bring back the San Jose Earthquakes - http://www.soccersiliconvalley.com/

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to