A slight correction: PickleRPC.py and PickleRPCServlet.py do currently
handle gzip compression.  Both request and response can be gzip-compressed.
I implemented that because I'm making use of large PickleRPC requests over a
modem connection, and the compression helps greatly.

If you want to try to implement gzip compression for regular servlets,
looking at the code in PickleRPCServlet.py should help point you in the
right direction.  But I would probably take Ian's advice and try to use
mod_gzip.

If anyone has successfully gotten mod_gzip to work with mod_webkit, that
would be a great thing to write up and put into the Webware Wiki.

- Geoff

> -----Original Message-----
> From: Ian Bicking [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 07, 2003 5:37 PM
> To: Jaroslaw Zabiello
> Cc: Webware discuss
> Subject: Re: [Webware-discuss] HTTP compression
> 
> 
> On Tue, 2003-01-07 at 15:43, Jarosław Zabiełło wrote:
> > I would like to change my code from PHP/Smarty to 
> Python/Cheetah but I
> > need some features I cannot find in Webware. E.g. I would 
> like to use
> > HTTP transparent compression. I need caching of web output fot this.
> > How to set it up in Webware?
> 
> There's nothing there right now, though it shouldn't be that hard to
> add.  I've done it before, but not in a general way, and now that
> there's streaming it would have to be rewritten.
> 
> In terms of speed it might be fastest with mod_gzip.  But I haven't
> tried to set that up, and I'm not sure how well mod_webkit could be
> chained with mod_gzip.  I think it should work.
> 
> -- 
> Ian Bicking           Colorstudy Web Development
> [EMAIL PROTECTED]   http://www.colorstudy.com
> PGP: gpg --keyserver pgp.mit.edu --recv-keys 0x9B9E28B7
> 4869 N Talman Ave, Chicago, IL 60625 / (773) 275-7241
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
> 


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to