|
It will match on an extra rewrite rule, yes. But what it is matching, actually does nothing but trigger either a stop or a skip in the rewrite engine. It doesn't actually replace any URL's or redirect or anything.
I think in the end, that little bit of processing will be less than the thousands of comparisons made on every page load that Ray was talking about.
I've been testing it for a few days on a server running 2 sites with about 90k a day in total traffic, each site with about 150 images on it. So that's a lot of requests hitting that htaccess file. (I'll eventually move it all to the apache config to improve it more)
Just for fun, I worked that out: 90k times 151 requests. (150 images plus the html) 13,590,000 times per day the server processes the htaccess file.
But so far, using Ray's suggestion, the load on the server is slightly lower. It didn't reduce the load as much as I was thinking or hoping it might, but it did seem to reduce it some. I just have to go through my stats and see if it didn't let any extra bot traffic through, and that it's actually working the way it's supposed to.
|