You're not thinking far enough ahead. It depends on your situation. Here is
a real life scenario.

Boss comes to you without notice and says that he has a website that you
need to setup on the shared server. Now on this shared server the html
extensions are mapping through to CF. Now this new site surprisingly has a
hundred thousand legal documents written in HTML (remember this is a
inherited site) and this site gets lots of traffic.

What are you to do, go and change all of your current applications that
reference CF content in HTML files? Nope, you don't have time for that and
the boss says nope.

So what happens is that the entire server gets bogged down because CF is
processing files it shouldn't be.

Of course it all depends on your situation, but looking ahead will keep
scenarios like that from happening.

Another point is what happens if you have a failure on your CF server and
need to replicate it on a new machine quickly. Are you going to remember all
those funky extension mappings you setup?

Of course that depends on how well you have everything documented, but
really how many people actually do that?

Again, it depends on your situation, but keeping it simple is usually the
best route. :-)

-----Original Message-----
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005 1:09 PM
To: CF-Talk
Subject: RE: .html files in cfmx7

Running html files through the server isn't a bad thing either,
necessarily. I agree that if you have a whole bunch of real html files
with no cfml in them, then it's just silly to run them through the app
server. However, I think a lot of people only have CFML files, but
choose to name them with the htm or html file extensions. This doesn't
cost anymore than naming them all with .cfm or .foo extensions.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200521
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