Stephen - it should ONLY be slow on the first time it is loaded.  After that
it should be quite fast.  The reason is that CFMX compiles the page into
Java classes.  That initial slowness is due to the compiler.

-mk

-----Original Message-----
From: [mRg] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 12:05 PM
To: CF-Talk
Subject: CFINCLUDE in CFMX so sloooow !


Lo all !

Just curious as to why in CFMX, when i use CFINCLUDE to bring in other code,
the process time of the page shoots up dramatically! I dont remeber this
being a problem before in versions 4.5 / 5 !

I have heard that in CFMX it interpretes the page before including and not
after including so it can be used in CFSCRIPT ..... is this true ?

Does anyone know a work around ? ... cause that kinda sucks as my page
process times have gone from 30ms -> 300ms.
I like to use CFINCLUDE so i can have nice tidy pages (well sort of tidy!)
. i hope i dont have to have all my code on one loooong page !

I hope someone can shed some light on this matter !

Thanks guys n gals

Stephen Pope / ColdFusion Developer


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to