httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jus...@erenkrantz.com>
Subject Re: [PATCH] mod_cache fixes: #8
Date Mon, 02 Aug 2004 19:54:27 GMT
--On Monday, August 2, 2004 3:01 PM -0400 Brian Akins 
<bakins@web.turner.com> wrote:

>> (and prebuilding headers)
>
> Is there a way to send pre built headers?  mod_asis uses
> ap_scan_script_header_er which is fairly slow.

That was what I fixed with apr_file_gets() last night.  The code there was 
really naive about reading buffered files.  After my changes, 
ap_scan_script_header_err, more specifically apr_file_gets(), dropped out 
of the top CPU hogs.  I'm not really sure it's worth optimizing the header 
caching right now.  -- justin

Mime
View raw message