I would not include renaming PDF files as an option, since the #3 option in Dave's list is a similar idea that is better. ColdFusion can handle PDF files as if they were CFM files without changing the PDF file extension.
Keep in mind that if CF starts serving a large downloadable file, it will tie up one of the limited CF processing threads, which I believe is the performance issue Dave is suggesting with #2 and #3. When all the CF processing threads are busy, incoming requests start to queue up, even if CF isn't doing much of anything. -Mike Chabot On Fri, Feb 12, 2010 at 8:04 PM, <> wrote: > > 5. rename all you pdf files with cfm extensions so that if users call > them they will be filtered by application.cfm and use some download CF > code like GetPdf.cfm?file=MyPdf that will send MyPdf.cfm as a pdf file > using CFCONTENT. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330683 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4