httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: current CVS tree: empty Content-Encoding header on negotiated docs
Date Tue, 10 Feb 1998 06:12:49 GMT


On Mon, 9 Feb 1998, Dean Gaudet wrote:

> Yeah well performance freaks don't use "DirectoryIndex index"... have you
> ever looked at a trace of that?  ;)

Here's what I mean, this is slightly editted:

stat("/home/dgaudet/ap/apachen/htdocs", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/index", 0x80b1db4) = -1 ENOENT (No such file or directory)
stat("/home/dgaudet/ap/apachen/htdocs", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
open("/home/dgaudet/ap/apachen/htdocs/", O_RDONLY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
getdents(4, /* 24 entries */, 4096)     = 496
stat("/home/dgaudet/ap/apachen/htdocs/index.html", {st_mode=S_IFREG|0664, st_size=1316, ...})
= 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html.gz", {st_mode=S_IFREG|0664, st_size=0, ...})
= 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html", {st_mode=S_IFREG|0664, st_size=1316, ...})
= 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html.gz", {st_mode=S_IFREG|0664, st_size=0, ...})
= 0
stat("/home/dgaudet/ap/apachen/htdocs/index", 0x80b0824) = -1 ENOENT (No such file or directory)
stat("/home/dgaudet/ap/apachen/htdocs", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
open("/home/dgaudet/ap/apachen/htdocs/", O_RDONLY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
getdents(4, /* 24 entries */, 4096)     = 496
stat("/home/dgaudet/ap/apachen/htdocs/index.html", {st_mode=S_IFREG|0664, st_size=1316, ...})
= 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html.gz", {st_mode=S_IFREG|0664, st_size=0, ...})
= 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html", {st_mode=S_IFREG|0664, st_size=1316, ...})
= 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html.gz", {st_mode=S_IFREG|0664, st_size=0, ...})
= 0
open("/home/dgaudet/ap/apachen/htdocs/index.html", O_RDONLY) = 4

Isn't that neat?

That's *one* request:  HEAD / HTTP/1.0

We stat the directory 4 times, we opendir it twice, we
stat the multiviewed files 8 times...

MultiViews alone isn't as bad... it only does half the work.

Dean


Mime
View raw message