httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@raleigh.ibm.com>
Subject Re: [PATCH] mod_file_cache - use iol_sendfile directly
Date Wed, 19 Jul 2000 15:21:37 GMT
Greg Stein wrote:
> 
> If chunking is enabled, then sendfile() *can* be used. We can issue a chunk
> header with the length of the (upcoming) sendfile. The file gets shot out
> the fd via sendfile, then a chunk trailer is appended.
>
Didn't know that was legal.  Well, I guess it would be for sufficiently
small files.  Then the question is, *should* this be done.  I need to
study the RFC & think about the problem chunking is intending to solve &
the interactions...
 
> CacheFile can be used and can be speedy. Then the webadmin decides that he
> really wants a bit of filtering to occur. Well, it isn't as speedy, but it
> works as expected. The admin doesn't have to try to figure out why his
> filters aren't working (e.g. cuz CacheFile disabled them) -- it just plain
> works. 

Let's hear it for the principle of least astonishment.  I can definately
appreciate that after spending a decade+ in field support (which is why
weak error logging is one of my pet peeves).

Happy O'Reilly!
(gee it was quiet on the list yesterday PM...kinda nice)

Greg

Mime
View raw message