Yes, I believe this is like the gzip encoding available in php. That's
working great on a site of mine (large message board).

> You may want to look into the "Content-Encoding" HTTP header.  Your web
> server can actually compress the text file on the fly, and if your web
> browser is smart enough to accept it you will accomplish exactly what you
> are looking for.  I think IIS5 has an ISAPI filter that does this
> automagically.
>
> References:
> http://www.w3.org/Protocols/HTTP/Object_Headers.html#content-encoding
> http://www.google.com/search?q=content-encoding+gzip
>
> -R
>
> -----Original Message-----
> From: Mark Stewart [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 17:37
> To: CF-Talk
> Subject: Text Compression Utility?
>
>
> I'm looking for a utility that will compress large text files, but not
> change the extension. For example - I have a 2mb text file called
> readme.txt - after compression, it becomes a 100k file still called
> readme.txt. My situation - We have a main frame putting text files into
> a directory. Through the web, we display these files as links. When a
> user clicks on the link, we display the file. In some cases, these text
> files reach 2mb. It doesn't take a rocket scientist to figure out that
> displaying 2mb files over the web is unacceptable. So, I'm looking for a
> way to compress them, possibly through a command-line utility or
> something.
>
> Any thoughts?
>
>
> Mark Stewart
> Programmer/Analyst
> CC3
> Phone: 215.672.6900 x1332
> http://www.cc3.com
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to