RE: HTTP Compression with CF7
http://dotnetjunkies.com/Article/16267D49-4C6E-4063-AB12-853761D31E66.dcik Basically what I followed in the book. -Original Message- From: Leitch, Oblio [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 9:53 AM To: CF-Talk Subject: RE: HTTP Compression with CF7 Care to share? -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 12:49 PM To: CF-Talk Subject: RE: HTTP Compression with CF7 Found it.. never mind! -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 3:39 PM To: CF-Talk Subject: Re: HTTP Compression with CF7 You also shouldn't need filters for compression, IIS does it out of the box it is just hidden from view and has to be activited via command prompt. This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276355 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: HTTP Compression with CF7
Also check out www.IIS.net for some great titbits and hidden gems for IIS. "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -Original Message- From: Jacob To: CF-Talk Sent: Thu Apr 26 19:22:03 2007 Subject: RE: HTTP Compression with CF7 IIS 6.0 Resource Kit from Microsoft Press. Page 654 :) -Original Message- From: Leitch, Oblio [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 9:53 AM To: CF-Talk Subject: RE: HTTP Compression with CF7 Care to share? -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 12:49 PM To: CF-Talk Subject: RE: HTTP Compression with CF7 Found it.. never mind! -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 3:39 PM To: CF-Talk Subject: Re: HTTP Compression with CF7 You also shouldn't need filters for compression, IIS does it out of the box it is just hidden from view and has to be activited via command prompt. This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276346 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: HTTP Compression with CF7
IIS 6.0 Resource Kit from Microsoft Press. Page 654 :) -Original Message- From: Leitch, Oblio [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 9:53 AM To: CF-Talk Subject: RE: HTTP Compression with CF7 Care to share? -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 12:49 PM To: CF-Talk Subject: RE: HTTP Compression with CF7 Found it.. never mind! -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 3:39 PM To: CF-Talk Subject: Re: HTTP Compression with CF7 You also shouldn't need filters for compression, IIS does it out of the box it is just hidden from view and has to be activited via command prompt. This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276336 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: HTTP Compression with CF7
Care to share? -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 12:49 PM To: CF-Talk Subject: RE: HTTP Compression with CF7 Found it.. never mind! -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 3:39 PM To: CF-Talk Subject: Re: HTTP Compression with CF7 You also shouldn't need filters for compression, IIS does it out of the box it is just hidden from view and has to be activited via command prompt. This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276322 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: HTTP Compression with CF7
Found it.. never mind! -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 3:39 PM To: CF-Talk Subject: Re: HTTP Compression with CF7 You also shouldn't need filters for compression, IIS does it out of the box it is just hidden from view and has to be activited via command prompt. "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -Original Message- From: Russ To: CF-Talk Sent: Wed Apr 25 20:45:23 2007 Subject: RE: HTTP Compression with CF7 I don't know about IIS, but we've never had a problem with compression using Apache and CF... Russ > -Original Message- > From: Jacob [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 25, 2007 3:31 PM > To: CF-Talk > Subject: HTTP Compression with CF7 > > Can you run HTTP Compression on IIS with CF 7? > > I know CF4 and CF5 has a problem, but how about CF7? > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > does not work. When I install it on a IIS server not running CF, HTTP > Compression runs fine. > > TIA... > > Jacob > > > ~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276321 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: HTTP Compression with CF7
Care to tell me where is should I have to pop out my IIS7 Administrator book :) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 3:39 PM To: CF-Talk Subject: Re: HTTP Compression with CF7 You also shouldn't need filters for compression, IIS does it out of the box it is just hidden from view and has to be activited via command prompt. "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -Original Message- From: Russ To: CF-Talk Sent: Wed Apr 25 20:45:23 2007 Subject: RE: HTTP Compression with CF7 I don't know about IIS, but we've never had a problem with compression using Apache and CF... Russ > -Original Message- > From: Jacob [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 25, 2007 3:31 PM > To: CF-Talk > Subject: HTTP Compression with CF7 > > Can you run HTTP Compression on IIS with CF 7? > > I know CF4 and CF5 has a problem, but how about CF7? > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > does not work. When I install it on a IIS server not running CF, HTTP > Compression runs fine. > > TIA... > > Jacob > > > ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276320 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: HTTP Compression with CF7
I have used cfx_gzip for years with no adverse effects. Check the Exchange for it. Requires a separate custom tag also found at the Exchange. -- [EMAIL PROTECTED] Janitor, The Robertson Team mysecretbase.com ~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276317 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: HTTP Compression with CF7
Sorry, Andrew, I had forgotten where I got the original code snippet from. I'll buy you a beer the next time I'm in the neighborhood. On 4/25/07, Andrew Scott <[EMAIL PROTECTED]> wrote: > > You know Pete... > > If you are going to give something, some credit would have been good:-) > > http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept > > > > > On 4/26/07, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote: > > > > Roll your own. Here's a code snippet from my application.cfc: > > > > > > > > > > > > > > > len(trim(getauthuser())) EQ 0> > > > >pageOut = getPageContext().getCFOutput().getString(); > >fileOut = createobject("java", "java.io.ByteArrayOutputStream > ").init(); > >out = createobject("java","java.util.zip.GZIPOutputStream > > ").init(fileOut); > >out.write(variables.pageOut.getBytes(), 0, len( > > variables.pageOut.getBytes())); > >out.finish(); > >out.close(); > > > > > >> variable="#fileOut.toByteArray()#"> > > > > > > > > > > > > > > > > As you can tell from the comment, there were portions of code that had > > issues with the gzip encoding, but overall it works quite well. > > > > pete > > > > > > On 4/25/07, Jacob <[EMAIL PROTECTED]> wrote: > > > > > > Can you run HTTP Compression on IIS with CF 7? > > > > > > I know CF4 and CF5 has a problem, but how about CF7? > > > > > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but > it > > > does not work. When I install it on a IIS server not running CF, HTTP > > > Compression runs fine. > > > > > > TIA... > > > > > > Jacob > > > > > > > > > > > > > > > ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276286 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: HTTP Compression with CF7
There is definitely more overhead on both ends, and with the speed of connections increasing, compression is becoming less about performance and more about saving your bandwidth usage allotment. Compression is not a huge resource draw, so probably worth enabling in most scenarios, even though the end user experience won't be drastically different (unless you're serving a lot of huge text files). If server resources are an issue, it's trivial to do the compression on proxy/gateway servers instead of your web/app servers (and you can buy hardware just for this purpose). cheers, barneyb On 4/25/07, Ariel Jakobovits <[EMAIL PROTECTED]> wrote: > so this concept of compressing data, it saves bandwidth but how about client > and server side processing time. > > more server load? > faster to decompress on client than download more? > > - Original Message > From: Andrew Scott <[EMAIL PROTECTED]> > To: CF-Talk > Sent: Wednesday, April 25, 2007 2:58:36 PM > Subject: Re: HTTP Compression with CF7 > > You know Pete... > > If you are going to give something, some credit would have been good:-) > > http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept > > > > > On 4/26/07, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote: > > > > Roll your own. Here's a code snippet from my application.cfc: > > > > > > > > > > > > > > > len(trim(getauthuser())) EQ 0> > > > >pageOut = getPageContext().getCFOutput().getString(); > >fileOut = createobject("java", "java.io.ByteArrayOutputStream").init(); > >out = createobject("java","java.util.zip.GZIPOutputStream > > ").init(fileOut); > >out.write(variables.pageOut.getBytes(), 0, len( > > variables.pageOut.getBytes())); > >out.finish(); > >out.close(); > > > > > >> variable="#fileOut.toByteArray()#"> > > > > > > > > > > > > > > > > As you can tell from the comment, there were portions of code that had > > issues with the gzip encoding, but overall it works quite well. > > > > pete > > > > > > On 4/25/07, Jacob <[EMAIL PROTECTED]> wrote: > > > > > > Can you run HTTP Compression on IIS with CF 7? > > > > > > I know CF4 and CF5 has a problem, but how about CF7? > > > > > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > > > does not work. When I install it on a IIS server not running CF, HTTP > > > Compression runs fine. > > > > > > TIA... > > > > > > Jacob > > > > > > > > > > > > > > > > > ~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276273 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: HTTP Compression with CF7
so this concept of compressing data, it saves bandwidth but how about client and server side processing time. more server load? faster to decompress on client than download more? - Original Message From: Andrew Scott <[EMAIL PROTECTED]> To: CF-Talk Sent: Wednesday, April 25, 2007 2:58:36 PM Subject: Re: HTTP Compression with CF7 You know Pete... If you are going to give something, some credit would have been good:-) http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept On 4/26/07, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote: > > Roll your own. Here's a code snippet from my application.cfc: > > > > > > > len(trim(getauthuser())) EQ 0> > >pageOut = getPageContext().getCFOutput().getString(); >fileOut = createobject("java", "java.io.ByteArrayOutputStream").init(); >out = createobject("java","java.util.zip.GZIPOutputStream > ").init(fileOut); >out.write(variables.pageOut.getBytes(), 0, len( > variables.pageOut.getBytes())); >out.finish(); >out.close(); > > >variable="#fileOut.toByteArray()#"> > > > > > > > > As you can tell from the comment, there were portions of code that had > issues with the gzip encoding, but overall it works quite well. > > pete > > > On 4/25/07, Jacob <[EMAIL PROTECTED]> wrote: > > > > Can you run HTTP Compression on IIS with CF 7? > > > > I know CF4 and CF5 has a problem, but how about CF7? > > > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > > does not work. When I install it on a IIS server not running CF, HTTP > > Compression runs fine. > > > > TIA... > > > > Jacob > > > > > > > > ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276272 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: HTTP Compression with CF7
I have used the GZip compression in IIS 6. If you want an easy way to manage it I would suggest using ZipEnable from port80 software. It is well worth the $150. http://www.port80software.com/products/zipenable/ One thing that you need to watch out for is that the compression kills Scheduled Tasks or CFHTTP calls to your site. If you have your tasks in a specific folder then you can exclude that folder from compression using ZipEnable. HTH, John Blayter On 4/25/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > You also shouldn't need filters for compression, IIS does it out of the box > it is just hidden from view and has to be activited via command prompt. > > > > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, > Registered in England, Number 678540. It contains information which is > confidential and may also be privileged. It is for the exclusive use of the > intended recipient(s). If you are not the intended recipient(s) please note > that any form of distribution, copying or use of this communication or the > information in it is strictly prohibited and may be unlawful. If you have > received this communication in error please return it to the sender or call > our switchboard on +44 (0) 20 89107910. The opinions expressed within this > communication are not necessarily those expressed by Reed Exhibitions." > Visit our website at http://www.reedexpo.com > > -Original Message- > From: Russ > To: CF-Talk > Sent: Wed Apr 25 20:45:23 2007 > Subject: RE: HTTP Compression with CF7 > > I don't know about IIS, but we've never had a problem with compression using > Apache and CF... > > Russ > > > > > -Original Message- > > From: Jacob [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 25, 2007 3:31 PM > > To: CF-Talk > > Subject: HTTP Compression with CF7 > > > > Can you run HTTP Compression on IIS with CF 7? > > > > I know CF4 and CF5 has a problem, but how about CF7? > > > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > > does not work. When I install it on a IIS server not running CF, HTTP > > Compression runs fine. > > > > TIA... > > > > Jacob > > > > > > > > > > ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276270 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: HTTP Compression with CF7
Neil, yes that is correct it does. But only from Version 6 and up, just in case others are still running older IIS sites. On 4/26/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > > You also shouldn't need filters for compression, IIS does it out of the > box > it is just hidden from view and has to be activited via command prompt. > > > > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, > Registered in England, Number 678540. It contains information which is > confidential and may also be privileged. It is for the exclusive use of > the > intended recipient(s). If you are not the intended recipient(s) please > note > that any form of distribution, copying or use of this communication or the > information in it is strictly prohibited and may be unlawful. If you have > received this communication in error please return it to the sender or > call > our switchboard on +44 (0) 20 89107910. The opinions expressed within > this > communication are not necessarily those expressed by Reed Exhibitions." > Visit our website at http://www.reedexpo.com > > -Original Message- > From: Russ > To: CF-Talk > Sent: Wed Apr 25 20:45:23 2007 > Subject: RE: HTTP Compression with CF7 > > I don't know about IIS, but we've never had a problem with compression > using > Apache and CF... > > Russ > > > > > -Original Message- > > From: Jacob [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 25, 2007 3:31 PM > > To: CF-Talk > > Subject: HTTP Compression with CF7 > > > > Can you run HTTP Compression on IIS with CF 7? > > > > I know CF4 and CF5 has a problem, but how about CF7? > > > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > > does not work. When I install it on a IIS server not running CF, HTTP > > Compression runs fine. > > > > TIA... > > > > Jacob > > > > > > > > > > ~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276269 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: HTTP Compression with CF7
You also shouldn't need filters for compression, IIS does it out of the box it is just hidden from view and has to be activited via command prompt. "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -Original Message- From: Russ To: CF-Talk Sent: Wed Apr 25 20:45:23 2007 Subject: RE: HTTP Compression with CF7 I don't know about IIS, but we've never had a problem with compression using Apache and CF... Russ > -Original Message- > From: Jacob [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 25, 2007 3:31 PM > To: CF-Talk > Subject: HTTP Compression with CF7 > > Can you run HTTP Compression on IIS with CF 7? > > I know CF4 and CF5 has a problem, but how about CF7? > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > does not work. When I install it on a IIS server not running CF, HTTP > Compression runs fine. > > TIA... > > Jacob > > > ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276268 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: HTTP Compression with CF7
You know Pete... If you are going to give something, some credit would have been good:-) http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept On 4/26/07, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote: > > Roll your own. Here's a code snippet from my application.cfc: > > > > > > > len(trim(getauthuser())) EQ 0> > >pageOut = getPageContext().getCFOutput().getString(); >fileOut = createobject("java", "java.io.ByteArrayOutputStream").init(); >out = createobject("java","java.util.zip.GZIPOutputStream > ").init(fileOut); >out.write(variables.pageOut.getBytes(), 0, len( > variables.pageOut.getBytes())); >out.finish(); >out.close(); > > >variable="#fileOut.toByteArray()#"> > > > > > > > > As you can tell from the comment, there were portions of code that had > issues with the gzip encoding, but overall it works quite well. > > pete > > > On 4/25/07, Jacob <[EMAIL PROTECTED]> wrote: > > > > Can you run HTTP Compression on IIS with CF 7? > > > > I know CF4 and CF5 has a problem, but how about CF7? > > > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > > does not work. When I install it on a IIS server not running CF, HTTP > > Compression runs fine. > > > > TIA... > > > > Jacob > > > > > > > > ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276261 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: HTTP Compression with CF7
It's worth mentioning that this will only compress resources served via CF. It won't capture anything the web server serves directly (images, CSS, JS, etc.). cheers, barneyb On 4/25/07, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote: > Roll your own. Here's a code snippet from my application.cfc: > > As you can tell from the comment, there were portions of code that had > issues with the gzip encoding, but overall it works quite well. > > pete > -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276260 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: HTTP Compression with CF7
Roll your own. Here's a code snippet from my application.cfc: pageOut = getPageContext().getCFOutput().getString(); fileOut = createobject("java", "java.io.ByteArrayOutputStream").init(); out = createobject("java","java.util.zip.GZIPOutputStream ").init(fileOut); out.write(variables.pageOut.getBytes(), 0, len( variables.pageOut.getBytes())); out.finish(); out.close(); As you can tell from the comment, there were portions of code that had issues with the gzip encoding, but overall it works quite well. pete On 4/25/07, Jacob <[EMAIL PROTECTED]> wrote: > > Can you run HTTP Compression on IIS with CF 7? > > I know CF4 and CF5 has a problem, but how about CF7? > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > does not work. When I install it on a IIS server not running CF, HTTP > Compression runs fine. > > TIA... > > Jacob > > > ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276258 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: HTTP Compression with CF7
I don't know about IIS, but we've never had a problem with compression using Apache and CF... Russ > -Original Message- > From: Jacob [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 25, 2007 3:31 PM > To: CF-Talk > Subject: HTTP Compression with CF7 > > Can you run HTTP Compression on IIS with CF 7? > > I know CF4 and CF5 has a problem, but how about CF7? > > I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it > does not work. When I install it on a IIS server not running CF, HTTP > Compression runs fine. > > TIA... > > Jacob > > > ~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276257 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
HTTP Compression with CF7
Can you run HTTP Compression on IIS with CF 7? I know CF4 and CF5 has a problem, but how about CF7? I downloaded a couple ISAPI Filters for HTTP Compression for IIS, but it does not work. When I install it on a IIS server not running CF, HTTP Compression runs fine. TIA... Jacob ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276252 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4