(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