[Twisted-Python] what is the best way to serve static files?

Drew Smathers drew.smathers at gmail.com
Tue Apr 22 08:28:42 MDT 2008


On Mon, Apr 21, 2008 at 11:42 PM, inhahe <inhahe at gmail.com> wrote:
> What is the best (fastest) way to serve static files with Twisted?

twisted.web.static.StaticFile

> Or would using Apache or lighttpd for static files significantly speed it up (i don't
> know how to do this, btw)?
> Thx.

Both apache and lighttpd, of course, are going to beet Twisted in
terms of static file-serving speed.

-- 
\\\\\/\"/\\\\\\\\\\\
\\\\/ // //\/\\\\\\\
\\\/ \\// /\ \/\\\\
\\/ /\/ / /\/ /\ \\\
\/ / /\/ /\ /\\\ \\
/ /\\\ /\\\ \\\\\/\
\/\\\\\/\\\\\/\\\\\\
 d.p.s




More information about the Twisted-Python mailing list