[Moin-devel] Re: Re: Is it true file upload functionality will be removed from 1.4?
Martin Gignac
martin.gignac at mpbn.ericsson.ca
Sat Apr 9 20:37:55 EDT 2005
> Try to use the Standalone server version and check if it behaves better.
> (Should be very easy to setup)
Hi Alexander,
I've did some more tests with large files, MoinMoin and Twisted 1.3.0, and found
that the larger the file is, the longer the CPU "hogging" lasts. It eventually
dies down and the file ends up being downloaded, but in the case of very large
files (> 100MB), I wasn't patient enough to wait for it... ;)
I took your advice and ran the wiki using the exact same wikiconfig.py file, but
in standalone mode. This time, even a 123MB file got downloaded quickly and
easily without any problems! So my problems *does* seem to be limited to when I
use MoinMoin with Twisted.
I orginally thought that using Twisted instead of the standalonne mode would
give me some performance gains, but if it comes at this price, I may decide to
switch!
I had another question while we are on the subject of CGI GETs. If I use direct
file serving, I can use the mechanism of the 'HTTP 304 Not Modified' response
returned by the web server (Apache, Twisted Web, etc.) so that I avoid
downloading images in a wiki page which I already have in my browser cache. Now
my question is: do I get the same advantage if I use CGI GETs instead of direct
attachment serving, or do I end up downloading the images on a wiki page *every*
time I view the page with my web browser?
Regards,
-Martin
More information about the Moin-devel
mailing list