You can precompile a group of templates if you wish. A precompile utility
ships with CFMX. There's a great article by Charlie on this... check it out
at:

http://www.systemanage.com/cff/articles_cfdj.cfm

-mk

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


That's a real bummer too.  Cuz it can cause a great slowdown for larger
pages.  But I know it's par-for-the-course in this technology. 8/


| -----Original Message-----
| From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
| Sent: Friday, October 11, 2002 10:10 AM
| To: CF-Talk
| Subject: RE: CFINCLUDE in CFMX so sloooow !
|
|
| 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