[thelist] Front page idea..
Daniel J. Cody
dcody at oracular.com
Mon Apr 3 13:58:36 2000
Sorry folks, this should have gone to a different list! Humble
apologies..
<tip type="apache performance">
I've mentioned( http://www.evolt.org/index.cfm?menu=8&cid=193 ) before
that turning off hostname lookups is a key way to improve webserver
performance.
Sometimes though, it is nice to have lookups happen when requests match
a certain criteria.
Here's an example that would go in our httpd.conf file which disables
lookups except for .html and .cfm files:
HostnameLookups off
<Files ~ "\.(html|cfm)$>
HostnameLookups on
</Files>
Restart apache, and you'll start logging hostnames of page views from
HTML and CFM files.
This can be used for any file type, so try to narrow it down to keep
performance high.
</tip>
.djc.
"Daniel J. Cody" wrote:
>
> So, I'm 'watchin the game, havin a bud' saturday(badgers were sooo
> close!) and was thinking that I was kinda pissed off that the front page
> was taking so long to load on Friday after jeff's spring cleaning thing
> got forwarded around.
>
> We pushed about 9500 page views that day(our second biggest one day
> total ever) and even though one person reported getting a CF error,
> things were served pretty decent, except it was a bit on the slow side
> at times.