httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Richards <p.richa...@elsevier.co.uk>
Subject Re: Let's get rid of .htaccess files :-)
Date Thu, 18 Jul 1996 13:23:43 GMT
rasmus@madhaus.utcs.utoronto.ca writes:
 > > The obvious optimistation to make first would be to parse them all
 > > at startup and hold them in an internal structure and then do a stat
 > > on the file at each access rather than a full parse. I suspect that in
 > > itself would be a considerable performance boost. If the file's newer
 > > than it's cached contents then re-parse it.
 > 
 > On large systems, I am not sure it is a good idea to go hog-wild like that
 > and search the entire disk for these things.  You would need to search 
 > through every ~user/public_html tree as well, and on a lot of boxes this
 > could be many thousand directories.  Perhaps an option to read a list of
 > top-level directories to search would speed this up a bit.

Ok, a simple caching mechanism then, seems we're back to the ideas that
were floating around 3-4 months ago.

Mime
View raw message