10 - 20 on a typical site, damn, I've only ever used 2  :OP

Ade

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 08 October 2002 13:45
To: CF-Talk
Subject: RE: overhead for large UDF libraries?


I've seen a CFMX box include 600 UDFS. The first hit was.... um... icky.
The second hit was as if nothing at all was being included. That being
said...

Yes, if you cfinclude ANYTHING, you slow the page down.

However, what you want to know is if it will have a _significant_
impact.

In my opinion, under most circumstances, the answer is no.

I would not cfinclude 600 UDFs of course, but on a typical site that
uses maybe 10-20 UDFs, I wouldn't think twice about it.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire

Email    : [EMAIL PROTECTED]
WWW      : www.camdenfamily.com/morpheus
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Gyrus [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, October 07, 2002 7:55 PM
> To: CF-Talk
> Subject: overhead for large UDF libraries?
> 
> 
> I'm curious (again!). Just starting to use UDFs to any 
> extent... what are
> the overheads (if any) involved in CFINCLUDEing one or more 
> large libraries
> of UDFs?
> 
> I've found various references, but I can't find something 
> that hits the nail
> on the head. Here's a few things I think or am unclear about:
> 
> - I guess it's wise to have cfm UDF library files, not to 
> have each UDF in
> its own cfm file.
> 
> - And I guess if this is so, they're best divided up by 
> function, as per
> cflib.org.
> 
> - But how large should a UDF library be? Is the developer's 
> preference the
> limit (i.e. maintainence issues)? Or would it affect 
> performance if you're
> including too big a file when you might not be using all of 
> the functions in
> a request? Is this just one of the balances to work out?
> 
> - Also, if you've got all your functions in a few libraries, 
> should you just
> CFINCLUDE them all in Application.cfm? Again, is this affecting
> performance - a bit? Significantly?
> 
> Am I getting confused with libraries of JS files, where you 
> obviously don't
> want a user to download a massive JS file when they might 
> only use a few
> functions in using a web site. As UDFs don't have any sort of 
> life past the
> server, what does CFINCLUDE mean in this context? Is it just 
> creating a
> reference to the file, so it knows where to find the 
> functions, or does it
> have to parse/compile the file each request?
> 
> Any light welcome!
> 
> - Gyrus
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - [EMAIL PROTECTED]
> work: http://www.tengai.co.uk
> play: http://www.norlonto.net
> - PGP key available
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> +
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to