Re: [AOLSERVER] gzip compression

2006-06-27 Thread Hamilton Chua
On Monday 26 June 2006 21:47, Nathan Folkman wrote: Yes. In fact, there's a new nszlib AOLserver module as part of the AOLserver 4.5 release. Thanks !!! Can it also be used on/in Aolserver 4.0.10 -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an

Re: [AOLSERVER] gzip compression

2006-06-27 Thread Nathan Folkman
Don't think so as I believe it relies on some newly added C APIs (Ns_SetGzipProc, Ns_Gzip, etc.), which are only available in AOLserver 4.5. Have you looked at the nszlib AOLserver module? It's available from the AOLserver CVS tree: aolserver/nszlib Hope that helps! - n [EMAIL

Re: [AOLSERVER] gzip compression

2006-06-26 Thread John Buckman
Having said that, the preferred future direction seems to be ns_adp_compress: http://sourceforge.net/tracker/index.php? func=detailgroup_id=3152atid=353152aid=1099613 Does this gzip option work with the AOLserver source in the current CVS tree? I tried it, and added the recommended

Re: [AOLSERVER] gzip compression

2006-06-26 Thread Nathan Folkman
Yes. In fact, there's a new nszlib AOLserver module as part of the AOLserver 4.5 release. Here's the relevant release notes: nszlib: The popular nszlib module written by Vlad Seryakov has been integrated into the core release with modifications to enable the new Ns_Gzip

[AOLSERVER] gzip compression

2006-06-25 Thread Hamilton Chua
Hello, I would like to ask if AOLServer supports gzip compression, similar to Apache's mod_gzip. Thanks, Hamilton -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message.

Re: [AOLSERVER] gzip compression

2006-06-25 Thread Mark Aufflick
Sure does. Against aolserver 3 I very successfully use the rlreturnz module - see: http://openacs.org/forums/message-view?message_id=32589 I believe that this was the basis for nsreturnz which is in the aolserver cvs: http://aolserver.cvs.sourceforge.net/aolserver/nsreturnz/ Having said that,

Re: [AOLSERVER] Gzip compression

2005-10-24 Thread Nader Henein
Can I get a copy of that, tried to get this working a few months back and even after diving into the original C code figured it wasn't working. Nader Henein Daniel P. Stasinski wrote: On Fri, 2005-10-21 at 09:48 -0700, C. R. Oldham wrote: I've added this to my servers but no OpenACS

Re: [AOLSERVER] Gzip compression

2005-10-24 Thread Dossy Shiobara
On 2005.10.24, Nader Henein [EMAIL PROTECTED] wrote: Can I get a copy of that, tried to get this working a few months back and even after diving into the original C code figured it wasn't working. Daniel P. Stasinski wrote: On Fri, 2005-10-21 at 09:48 -0700, C. R. Oldham wrote: I've added

Re: [AOLSERVER] Gzip compression

2005-10-24 Thread Daniel P. Stasinski
On Mon, 2005-10-24 at 09:59 +0400, Nader Henein wrote: Can I get a copy of that, tried to get this working a few months back and even after diving into the original C code figured it wasn't working. Sure, see attached. Daniel -- |

Re: [AOLSERVER] Gzip compression

2005-10-24 Thread Daniel P. Stasinski
On Mon, 2005-10-24 at 07:50 -0400, Dossy Shiobara wrote: Actually, Daniel, is there a reason you couldn't commit your fixes to the aolserver_v40_bp branch? Is gzip encoding still broke in HEAD, too? Yep, it's broken in the head too. I posted a diff to the list several weeks ago and never

Re: [AOLSERVER] Gzip compression

2005-10-24 Thread Dossy Shiobara
On 2005.10.24, Daniel P. Stasinski [EMAIL PROTECTED] wrote: I don't have commit access to anything other than nsecrypt() so I'll just send the file to you directly. You've said this before but I just don't understand why you say this. cvs_acls isn't set up for the AOLserver project at

Re: [AOLSERVER] Gzip compression

2005-10-24 Thread Daniel P. Stasinski
On Mon, 2005-10-24 at 10:19 -0400, Dossy Shiobara wrote: On 2005.10.24, Daniel P. Stasinski [EMAIL PROTECTED] wrote: I don't have commit access to anything other than nsecrypt() so I'll just send the file to you directly. You've said this before but I just don't understand why you say this.

Re: [AOLSERVER] Gzip compression

2005-10-24 Thread Dossy Shiobara
On 2005.10.24, Daniel P. Stasinski [EMAIL PROTECTED] wrote: On Mon, 2005-10-24 at 10:19 -0400, Dossy Shiobara wrote: On 2005.10.24, Daniel P. Stasinski [EMAIL PROTECTED] wrote: I don't have commit access to anything other than nsecrypt() so I'll just send the file to you directly.

[AOLSERVER] Gzip compression

2005-10-21 Thread C. R. Oldham
Greetings, With 4.0.10, the release notes say that gzip compression is now available in the core server instead of using the ns_returnz or rl_returnz modules. In reading the source it looks like in the ns/${servername}/adp section you have to say compress true I've added this to my servers

Re: [AOLSERVER] Gzip compression

2005-10-21 Thread Daniel P. Stasinski
On Fri, 2005-10-21 at 09:48 -0700, C. R. Oldham wrote: I've added this to my servers but no OpenACS pages seem to be gzipped. Am I missing something? These servers are on OpenACS 5.0. Add this to all adp's before sending any data: ns_adp_compress 1 Also, the gzip code there is very

Re: [AOLSERVER] gzip compression

2003-01-09 Thread Bernd Eidenschink
Hi Gabriel, I played around with the rlreturnz stuff and it's nice and it works, but my main problem with gzip encoded content is that the browser waits until it's downloaded the entire file before it decompresses the data and begins rendering the page. A side-effect is that it makes pages

Re: [AOLSERVER] gzip compression

2003-01-09 Thread Jim Wilcoxson
I think it is browser-dependant whether gzip decompression is performed after all data is received. Here is a quote from the Mozilla site, at http://www.mozilla.org/projects/apache/gzip/ The current Mozilla source already sends Accept-encoding: gzip and can do a streaming decompression of HTML

Re: [AOLSERVER] gzip compression

2003-01-09 Thread Roberto Mello
On Thu, Jan 09, 2003 at 11:16:34AM -0500, Gabriel Ricard wrote: Has anyone investigated gzip transport encoding at all? I played around with the rlreturnz stuff and it's nice and it works, but my main problem with gzip encoded content is that the browser waits until it's downloaded the entire

Re: [AOLSERVER] gzip compression

2003-01-07 Thread Scott Goodwin
On Monday, January 6, 2003, at 11:10 PM, Jeffrey Hobbs wrote: That's a good question ... I've never actually done performance analysis on the stacked channel stuff, but it is fairly efficient. It just passes buffers from one stack to the next as they are consumed. Special purpose filters may

Re: [AOLSERVER] gzip compression

2003-01-06 Thread Jeff Hobbs
I wouldn't mind seeing hooks, especially if they can be made more generic; gzip is today's problem, but I'm sure there will be another down the road. It would be nice to be able to have a stack of stream postprocessors, of which gzip compression could be one. Another module to get pushed onto

Re: [AOLSERVER] gzip compression

2003-01-06 Thread Jeffrey Hobbs
In any case, I did want to mention that since 8.2 Tcl has had stacked channels in the core. Extensions like Trf, memchan and TLS use this to do compression and/or encryption on channels transparent to the user. I create a new channel type in tclcmds.c in the nsopenssl module to allow

Re: [AOLSERVER] gzip compression

2003-01-05 Thread Nathan Folkman
In a message dated 1/3/03 3:12:12 PM, [EMAIL PROTECTED] writes: rename ns_return ns_return_safe rename ns_returnz ns_return Thanks to everyone who has responded thus far - great info! What about having a server config boolean to enable or disable gzip encoding globally for all content? Anyone

Re: [AOLSERVER] gzip compression

2003-01-05 Thread Jim Wilcoxson
Before investing a lot of time/energy into storing the gzip results, someone may want to do some benchmarks. For a low-volume site, nothing matters. On a high-volume site, storing a large cache of gzip results on disk will put more pressure on the memory subsystem. If someone decides that

Re: [AOLSERVER] gzip compression

2003-01-05 Thread Jim Davidson
In a message dated 1/5/2003 1:45:26 PM Eastern Standard Time, [EMAIL PROTECTED] writes: Before investing a lot of time/energy into storing the gzip results, someone may want to do some benchmarks. For a low-volume site, nothing matters. On a high-volume site, storing a large cache of gzip results

Re: [AOLSERVER] gzip compression

2003-01-05 Thread Peter M. Jansson
On Sun, 5 Jan 2003, Jim Davidson wrote: I'm not sure this could be done well in a single, global manner. Instead, hooks for the three most common request paths directly in the aolserver core may be needed: [snip] perhaps this stuff should be a compile time option triggered on with a

Re: [AOLSERVER] gzip compression

2003-01-04 Thread Wolfgang Winkler
The version from rubylane works flawlessly for us at www.bets4all.com. The only thing we had to patch (as we provide our site in different languages) was a call to NsConnEncodeForOutput for german and spanish special characters. It's in production now for several weeks and we are compressing our

Re: [AOLSERVER] gzip compression

2003-01-03 Thread Daniel P. Stasinski
I only saw one module available and from what I understand it is broke with current versions. What I would really like to see, at least for static content, is to be able to have a gz cache. On first access of any static page, the gz'ed content would be cached for subsequent accesses.

Re: [AOLSERVER] gzip compression

2003-01-03 Thread Tom Jackson
Nathan, Happy New Year! Mydomain.com used to run a module called rlreturnz written by Petru Paler. When we upgraded AOLserver to 3.4.2, I couldn't compile it, but it ran for several years with no problems reported. I think the compile problem was a slight change in the C api, so it should be easy

Re: [AOLSERVER] gzip compression

2003-01-03 Thread Jim Wilcoxson
Happy New Year Nathan! Check here: http://www.rubylane.com/public/rlreturnz/rlreturnz.c If it has a performance impact, we have not noticed it. There are some browser issues, for example, with Netscape 3 on a framed site. My theory is that Netscape's gzip decompression routine has issues when

Re: [AOLSERVER] gzip compression

2003-01-03 Thread Michael A. Cleverly
We've used a slightly modified version of Jim Wilcoxson's rl_returnz for the past 18 months or so. It's been very stable. gzipping at the level of -3 the additional CPU cycles haven't even been noticable, though the drop in our bandwidth usage has been. On Fri, 3 Jan 2003, Nathan Folkman wrote:

Re: [AOLSERVER] gzip compression

2003-01-03 Thread Dossy
On 2003.01.03, Daniel P. Stasinski [EMAIL PROTECTED] wrote: What I would really like to see, at least for static content, is to be able to have a gz cache. On first access of any static page, the gz'ed content would be cached for subsequent accesses. This could be implemented using

Re: [AOLSERVER] gzip compression

2003-01-03 Thread John Caruso
I couldn't find it on Google, both sites that had it are gone. I moved a copy of it to http://zmbh.com/rlreturnz/ Maybe this should get cleaned up and moved into SourceForge? A client of mine is using rlreturnz with AOLserver 3.4.2. We picked up the source in May of 2002 from

Re: [AOLSERVER] gzip compression

2003-01-03 Thread Tom Jackson
John Caruso wrote A client of mine is using rlreturnz with AOLserver 3.4.2. We picked up the source in May of 2002 from www.theashergroup.com, and it has the following difference from yours: That is interesting, because the version I am looking at (at http://zmbh.com/rlreturnz/ ) uses

Re: [AOLSERVER] gzip compression

2003-01-03 Thread John Caruso
John Caruso wrote A client of mine is using rlreturnz with AOLserver 3.4.2. We picked up the source in May of 2002 from www.theashergroup.com, and it has the following difference from yours: That is interesting, because the version I am looking at (at http://zmbh.com/rlreturnz/ ) uses

Re: [AOLSERVER] gzip compression

2003-01-03 Thread Tom Jackson
Nathan, Jim's module has the changes I was hoping would work, plus removal of unnecessary header settings and additions of ones I guess he found useful from lots of experience. Jim -- Where is the makefile? I'll try it with my version. --Tom Jackson Jim Wilcoxson wrote: Happy New Year Nathan!

Re: [AOLSERVER] gzip compression

2003-01-03 Thread Tom Jackson
I've taken Jim's module and changed it to create the ns_returnz command and a module name of nsreturnz. I also added the original makefile with modifications. It is at http://zmbh.com/rlreturnz/ It is running in AOLserver 3.5.1 at http://zmbh.com:/returnz.tcl $ telnet zmbh.com Host: