RE: [Compress HTML output]

2000-12-24 Thread Zachary Bedell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. And donations of this sort are *always* appreciated! Thanks! ;-) Why use a cfx tag with coldfusion to compress

RE: [Compress HTML output]

2000-12-24 Thread Robert Everland III
]] Sent: Sunday, December 24, 2000 10:26 AM To: CF-Talk Subject: RE: [Compress HTML output] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. And donations of this sort

RE: [Compress HTML output]

2000-12-24 Thread Zachary Bedell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Could you please explain how this compression works. I keep seeing this as it is being compressed and decompressed at the server, or is it being compressed at the server and decompressed at the client. After CF is done creating all of the

RE: [Compress HTML output]

2000-12-24 Thread Robert Everland III
, 2000 10:26 AM To: CF-Talk Subject: RE: [Compress HTML output] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. And donations of this sort are *always* appreciated

Re: [Compress HTML output]

2000-12-24 Thread Xing Li
It's been running like a champ for us over the last three days on a moderately high volume site. I can't imagine that the CFX overhead would be that much higher than ISAPI overhead. CFX_GZip is a good multi-threaded tag... The overhead is most likely on the cache file writes and cache

Re: [Compress HTML output]

2000-12-24 Thread Xing Li
10:26 AM To: CF-Talk Subject: RE: [Compress HTML output] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. And donations of this sort are *always* appreciated

RE: [Compress HTML output]

2000-12-24 Thread Zachary Bedell
Ok I understand what has been done the only thing I see as a problem is that the tag is writing a file. Now without locking or without a unique name something bad is bound to happen. And once you put locking on the writing of files there is gonna be a slowdown. The filename for the

RE: [Compress HTML output]

2000-12-24 Thread Zachary Bedell
The overhead is most likely on the cache file writes and cache reads. You just gave me an idea for a work around that could be better and faster than all the options we have just discussed. With both ISAPI and CFX, the system has to compress each and every single page output as it is a

RE: [Compress HTML output]

2000-12-22 Thread Zachary Bedell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Okay... I think the tag is done. I made a few more changes (see below). I also figured out how to automagically compress all the pages in your site w/ one little change. Here's what I did find: In the Application.cfm, I put this code:

Re: [Compress HTML output]

2000-12-22 Thread Xing Li
Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. Why use a cfx tag with coldfusion to compress html output when you can use IIS 5.0's builtin gzip/deflate compressors? I bet the cfx/cf overhead is much higher and not

RE: [Compress HTML output]

2000-12-21 Thread Steve Martin
!--- Serve the gzipped file delete --- cfheader name="Content-Encoding" value="gzip" cfcontent type="text/html" file="#tmpFile#.gz" deletefile="Yes"

RE: [Compress HTML output]

2000-12-20 Thread Orlando Correa \(ITSC\)
GZipPage CFELSE CFINCLUDE TEMPLATE="myheavypage.cfm" /CFIF /CFDEFAULTCASE -Original Message- From: Peter Stolz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 19, 2000 8:30 PM To: CF-Talk Subject: RE: [Compress HTML output] This is great! One question though: The serv

RE: [Compress HTML output]

2000-12-20 Thread Zachary Bedell
Wednesday, December 20, 2000 5:55 AM To: CF-Talk Subject: RE: [Compress HTML output] Just check the cgi.http_accept_encoding for the existance of "gzip" CFDEFAULTCASE CFIF listcontainsnocase(cgi.http_accept_encoding,"gzip")!--- AND NOT dev_server

RE: [Compress HTML output]

2000-12-19 Thread Orlando Correa \(ITSC\)
;#GZippedFile#" level="#Attributes.Level#" cffile action="delete" file="#RawHTMLFile#" !--- Setup the headers and write the mess back out to the client w/CFCONTENT --- cfset ThisTag.GeneratedContent = "" cfheader name="Content-Encoding" value=&quo

RE: [Compress HTML output]

2000-12-19 Thread Peter Stolz
I guess that would be CGI.HTTP_ACCEPT_ENCODING. P. -Original Message- From: Peter Stolz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 19, 2000 10:30 PM To: [EMAIL PROTECTED] Subject: RE: [Compress HTML output] This is great! One question though: The servlet version checks

Re: [Compress HTML output]

2000-12-18 Thread Alex
compression is a web server issue NOT CF. (www.remotecommunications.com) mod_gzip for apache compresses both static and dynamic pages IIS has compression built in "Correa, Orlando (ITSC)" [EMAIL PROTECTED] wrote: Anyone know if ColdFusion supports compressing HTML output on the fly similar to

RE: Compress HTML output

2000-12-18 Thread Dan G. Switzer, II
You could write a CFX_J tag that would use the GZip compression and send it. If you're using a Fusebox-style implementation, then you'd encapsulate you're entire page in a custom tag (i.e. CF_HTMLCompress/CF_HTMLCompress.) The custom CF tag would be something like: CFIF ThisTag.ExecutionMode IS

RE: [Compress HTML output]

2000-12-18 Thread Zachary Bedell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 compression is a web server issue NOT CF. That's true, but it doesn't mean you can't do it in CF... Below is a custom tag that will do just that, provided you have CFX_GZip installed (freely downloadable from the tag gallery). I'm not sure

RE: [Compress HTML output]

2000-12-18 Thread Correa, Orlando (ITSC)
Cool... I'll check it out! Thanks for the help. -Original Message- From: Zachary Bedell [mailto:[EMAIL PROTECTED]] Sent: Monday, December 18, 2000 2:20 PM To: CF-Talk Subject: RE: [Compress HTML output] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 compression is a web server issue