Gossamer Forum
Home : General : Internet Technologies :

Re: [Wil] mod_rewrite efficiency

Quote Reply
Re: [Wil] mod_rewrite efficiency In reply to
I use mod_rewrite quite a lot these days, and generally the performance hit seems to be minimal, if even noticeable. Granted, I haven't the expertise to do any kind of real benchmark testing, but I do maintain a few highly trafficked sites which manage just fine even though almost every url is "mod_rewritten".

Glancing at your rewrite rules, the only thing that jumps out at me as an opportunity for consolidation is:

RewriteRule ^bookshop$ /bookshop/perl/bookshop.pl [L]
RewriteRule ^bookshop/$ /bookshop/perl/bookshop.pl [L]

which could be consolidated as:

RewriteRule ^bookshop/?$ /bookshop/perl/bookshop.pl [L]

That's obviously quite minor, but it's just something I noticed.

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Subject Author Views Date
Thread mod_rewrite efficiency Wil 4048 Sep 25, 2003, 3:48 AM
Post Re: [Wil] mod_rewrite efficiency
hennagaijin 3923 Sep 25, 2003, 5:48 AM
Thread Re: [Wil] mod_rewrite efficiency
Alex 3964 Sep 25, 2003, 10:39 AM
Post Re: [Alex] mod_rewrite efficiency
Wil 3912 Sep 25, 2003, 11:24 AM