> > Did I understand Jeremy Allen correctly that the CF server 
> > will compile the entire page to P-Code *with any included 
> > files* and cache it. How does it track the myriad of 
> > combinations when all of the <cfinclude>s are dynamic
> > (inside CFIFs) and different files are included depending 
> > on the input and data?
>
> Peter that was more of a theoretical guess than an actual 
> statement but I will reenforce it.
> 
> My assumptions based on how C compilers work.
> 
> There is a preprocessing phase for a individual page call.
> 
> Step one, preprocess any individual CF template include any
> files into the template do anything else (syntax checking
> after the inclusion, before the inclusion) there are to
> many things to talk about so ill just stick to including files.
> 
> After "pre processing" you now have a template to be interpreted.
> 
> The next phase since we all know that CF "compiles" templates
> to PCode is to turn that template into PCode.
> 
> So one Section of my site may have 10 fuses which is really
> just 10 seperate Compilations (10 different file configurations)
> 
> Again most of this is theory if anyone actually knows I would
> love to hear it, im just taking some guesses here.
> 
> At this point I can only state guesses since I am not entirely
> certain. Dave? Allaire people?

Based on the background info I was given at the instructor training for the
CF Performance Tuning class, CF doesn't work the same way that a C compiler
might, but rather each individual .cfm file is cached individually. Using
CFINCLUDEs provides the illusion that the entire body of request code is
being executed as "one big file", includes and all, but it apparently
doesn't really work that way.

Unfortunately, this is based on a relatively vague discussion with some of
the Allaire guys, so I can't state this with absolute certainty. This is one
of the problems, of course, with CF - there are too many low-level mysteries
on how things really work.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to