httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bp...@pacbell.net>
Subject last-modified and subrequests
Date Thu, 06 Dec 2001 02:57:03 GMT
For mod_include subrequests, the default_handler() adds a
Last-Modified field to the request_rec.  This is an expensive
operation (due to the date/time formatting required), so I'd
like to eliminate it.

Is it safe to suppress the setting of Last-Modified in
default_handler() when r->main!=NULL?  If there are any
cases where we *would* need to set Last-Modified on a
subrequest, is there a heuristic that could be used to
distinguish them from the mod_include case?

Thanks,
--Brian



Mime
View raw message