CF will be used for the duration of that request. I'd be interested in hearing a solution to this also.
Adrian > -----Original Message----- > From: Seb Duggan [mailto:s...@sebduggan.com] > Sent: 06 February 2009 11:49 > To: cf-talk > Subject: How are CFCONTENT requests handled? > > > I'm putting together a page on one of my sites for downloading of hi- > res press images. > > These are JPEGs; but I want them to be downloaded rather than opened > in the browser. > > The following code works just fine: > > <cfheader name="Content-Disposition" value="attachment; filename=press- > image.jpg" /> > <cfcontent type="image/jpeg" file="#ExpandPath("press-image.jpg")#" /> > > What I want to know is: if I'm serving the file in this method, does > CF load the image into memory and then serve it? Or does it just point > the browser to the relevant location? > > The reason I ask is that some of the images are up to 10MB in size, > and I don't want my CF server to be hammered by someone downloading a > few of these at the same time. > > The alternative is to zip them all up - very little size gain for > JPEGs, but at least the browser will just download the file, and IIS > will take the strain instead of CF... > > > > Seb Duggan > Web & ColdFusion Developer > > e: s...@sebduggan.com > t: 07786 333184 > w: http://sebduggan.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318963 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4