Forum Moderators: phranque
The -f and -d tests are very very inefficient.
These checks literally beat server hard drives to death
I'd prefer a start anchor on that RewriteRule pattern
That's why the OS caches directory data and doesn't hit the hard drive twice
How did hard drives get mixed into this? The server, unlike your computer, caches nothing and has no memory.