Cheers Barney and Dave, I'll end up with about 100 so that's good to know. Adrian
-----Original Message----- From: Barney Boisvert Sent: 28 February 2008 16:40 To: CF-Talk Subject: Re: OT - URL Rewriting, how many rules? mod_rewrite is a drop in a bucket compared to the ocean of a JEE stack, let alone one with CF on it. Using .htaccess is going to be more of a performance penalty, because of all the extra per-request file IO. Unless you have a compelling reason (like shared hosting), you should put all your config in the main config files. If you want to version your rewriting config with your app (usually what you want), then use an Include directive instead of .htaccess. I've used hundrends (maybe thousands?) of rewrite rules with no issue and used rewrite maps with thousands of entries, both with no discernible performance penalty. Rewriting queries still provided the best bang for your buck speeding things up. cheers, barneyb On Thu, Feb 28, 2008 at 8:29 AM, Adrian Lynch <[EMAIL PROTECTED]> wrote: > Sorry, very quick OT. > > I have 20 odd rules in my .htaccess file and it may grow to 40 or 60. Is > this too many? > > Can anyone claim to have more and do you notice any performance hit? > > Any links to info on this subject? > > Thanks. > > Adrian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4