efficient rewrite

Ed W lists at wildgooses.com
Wed Apr 9 23:57:44 MSD 2008

> My guess is that method 1 would be more efficient because rewrite 
> processing would only happen if the location matched.

?? Just setup a small fixed page and then use "ab" from apache to 
retrieve it a few thousand times...  If it's not measurable then it's 
not relevant?  You would have to be doing quite a few per second for a 
regexp to be a significant part of the page processing...

Just a thought?

Ed W

More information about the nginx mailing list