Quoting Dossy Shiobara <[EMAIL PROTECTED]>:
On 2007.04.11, Ali Salem <[EMAIL PROTECTED]> wrote:
With reference to gzip compression support in aolserver 4.5.0, where should
I place the [ns_zlib compress $file_requested] in order to guarantee the
compression of every file being requested? Note that I am using ACS 3.4.
Excuse my amateur knowledge in this area, and thank you for your help.
The easiest way to do it is to set it in your AOLserver config .tcl:
ns_section "ns/server/server1/adp"
ns_param gzip on
I've not really been clear on how this works since 4.5 came out...
would this only compress adp pages or static also?
Does the nszlib module need to be compiled?
I did and loaded it in my config along with the "gzip on" line. The
example code that comes with nszlib works, but it doesn't look like
pages themselves are being compressed. Am I not understanding what
this does? Is there an easy way to test if this is working?
--
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. You can leave the Subject:
field of your email blank.