[Zope] slow DocumentTemplate (dtml) import speed
Dieter Maurer
dieter@handshake.de
Wed, 10 Jan 2001 20:00:12 +0100 (CET)
Federico Grau writes:
> ... import of "DocumentTemplate" in CGI script takes too much time ...
Check whether your Web Server supports FCGI.
If the Web Server is Apache, then there are several Apache
modules to integrate Python inside Apache.
I think Guido van Rossum uses "mod_snake".
Search "comp.lang.python" via "www.python.org" or "dejanews".
All these approaches would save you the new process spawn
and the build up of its infrastructure all together.
If you cannot use any of these options, then the
Python "freeze" facility may help you.
Dieter