When a CF file is first run it gets compiled to a class file and loaded into
memory (template cache), if save class files is enabled then the compiled
class file is saved to disk as well, and this file will be used in the
future instead of always compiling the CFM file. This will happen if CF is
restarted or if the file gets removed from the template cache for any
reason.

When you have trusted cache enabled this simply tells CF not to bother
looking at the cfm file to see if there is a newer version, and to always
trust that the cached version is the newest. So if you do not plan to change
your files any time soon, this should provide a performance boost.

It is possible to compile all your CFM files to class files and only have
these on the server and not have any cfm files at all.

-- 

Russ Michaels

www.bluethunderinternet.com  : Business hosting services & solutions
www.cfmldeveloper.com        : ColdFusion developer community + free
developer hosting
www.michaels.me.uk           : my blog
www.cfsearch.com             : ColdFusion search engine
**
*skype me*                     : russmichaels


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342485
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to