So, from my reading, its seems as though that in 4.5, we got on the fly ADP 
page compression. However, it seems as though there isn't comparable 
functionality for Tcl files (i.e. ns_return). I know there are some work 
arounds, but I was just curious why this was not implemented in the core? I 
took a look at the sources, and it looks fairly straight forward to add this 
functionality. I see there are three possibilities:

1) modify ns_return to take a flag. The optional connid parameter makes parsing 
the args a little trickier.
Current:
   ns_return ?connid? status type string  (is connid ever used??)
New
  ns_return ?connid? status type string ?gzip?
OR
  ns_return ?connid? status type string ?-gzip boolean?

2) add a new command similar to the workarounds:
  ns_returnz status type string 

3) Expose Ns_ConnSetGzipFlag to the script level. This would be most similar to 
how the ADP compression is done

Or, am I missing something here? Is there already a way to do this (without 
workarounds)?

Thanks,
   --brett


p.s. I'd really like on the fly compression for static files as well (yes, I 
know there are work arounds). 




      
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com


--
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.

Reply via email to