Re: Re: Re: Is it true file upload functionality will be removed from 1.4?
"Martin Gignac" <[email protected]> Sat, 9 Apr 2005 23:37:07 -0400
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click