Dave

that speed penalty only occurs in the firts load page right? After
that the "compiled" class file will load very fast... right?

Cheers

Marco


On Thu, 2 Dec 2004 12:37:31 -0500, Dave Watts <[EMAIL PROTECTED]> wrote:
> > When developing an entire website, I occasionally develop a page with
> > no CF-specific content whatsoever (although it happens remarkably
> > rarely). Is there any advantage or disadvantage to naming these pages
> > with a HTM extension rather than a CFM extension? Is there a speed
> > penalty?
> 
> Yes, there is a speed penalty for CFM pages. Static files are much faster
> than CFM files, even if those CFM files don't actually contain program
> commands. If you don't want to incorporate some CF functionality into those
> pages, such as controlling access via Application.cfm, you're better off
> using a static file extension.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185975
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to