View Single Post
Old 03-04-2005, 01:37 AM  
SplitInfinity
Confirmed User
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
Suggestion to all: Dont use .htaccess files.
Instead, use the httpd.conf file.
Reason? Performance impact.
Every file that is served by apache is in a directory tree....
And the server needs to check EVERY DIRECTORY along the file
path for an .htaccess file, just to make sure theres none there
and/or of there IS one there...

So think of it like this....
You have something.gif and someone is loading it right now...
Apache says, oh ok....
Lets see... the file is in /home/one/two/three/four/five
Then it says...
is there and .htaccess file in /home?
is there and .htaccess file in /one?
is there and .htaccess file in /two?
is there and .htaccess file in /three?
is there and .htaccess file in /four?
is there and .htaccess file in /five?

Imagine the disk load and etc if you have like 50 thumbnails on your page?

Food for thought GFY'ers
:-)
SplitInfinity is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote