It's not the cfcontent is resource intensive, but using it for security
like I suggested causes 5-10 times as many requests to go through CF
whereas before they would just go to the web server.

Typical request for CFM page = one request to CF.
Request for CFM page with all images going through CF = 5-10 requests to
CF

A lot more requests for CF to handle, albeit short ones.  Might help to
increase number of simultaneous requests being processed.

Sorry I didn't mention this in my original post.

> -----Original Message-----
> From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] 
> Sent: Sunday, December 15, 2002 12:45 PM
> To: CF-Talk
> Subject: RE: Login/Password screen
> 
> 
> Why is that? Is CFCONTENT resource intensive?
> 
> 
> Kola
> 
> > >> 
> > >> For example, put all of your images in a folder that
> > >> is not within the wwwroot and request them like this:
> > >> 
> > >> <img src="getImage.cfm?imagePath=storeFront/header.gif">
> > >> 
> > >> And then in the CFM use CFCONTENT to send back the image.
> > >> Works equally well with PDF, Word, Excel, etc. files.
> > >
> > >This is a good solution, but you need to be careful when using
> > >it, because
> > >it can introduce a significant amount of additional load onto CF.
> > >
> > >Dave Watts, CTO, Fig Leaf Software
> > >http://www.figleaf.com/
> > >voice: (202) 797-5496
> > >fax: (202) 797-5444
> > >


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to