Hi All, > Well, you won't save CPU if you need to compute the whole page anyway... > And we're talking of dynamic generated pages, most won't be cached, and those > that will might as well send an Expires: header, in which case the proxy > and browser will cache the data unless the user forces the cache to be skiped.
You have a point. It's not so much a big deal for me because I cache things on the server side anyway, but I can see what you mean. > > The option might be 'Off' by default for backwards compatibility. > Backward compatibility with a bug? I don't even think there should be > a Off setting. Sending the content in a HEAD request is, IMHO, a > violation of the HTTP protocol. It is: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.4 <cite> The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. </cite> However some people might have been using the Apache request object to prevent this already. We don't want them to change their code do we? Some other people are unaware of the problem and perfectly happy with it. Fine. Now for all the others (and that includes me :)) it'd be nice to have an option to have the correct behavior. I might just have a look at Registry.pm this week-end and see what kind of horrible hack I can do. > Also, I think the handler shoulnd't just terminate the script, but > send the output until the end of the headers (the first blank line), > close the connection, but wait till the scripts ends by it self. > Killing it could provoke database corruption or similar problems... Agreed, in fact it should grab the whole output, or do something with <STDOUT> when the headers have been printed or something. > And another one, Fake or Skip that would just return standard ones, > without even bother to run the script... Then the admin will be able to choose > the best for it's cause... That would be very bad because the script might return a content type which is something completely different from text/html... unless this is clearly documented as being very bad / dangerous indeed. Okay, so far we might want to have something like: ManageHeadRequests Off|On|Skip It might also be nice to have a 'Fat' option that would put as much info in the head as possible, like language, content-length, link rels, etc (yeah, mozilla supports link rels in the headers, believe it or not :-)) Cheers, -- == \______ ===================================================== /\____/\ IT'S TIME FOR A DIFFERENT KIND OF WEB / /\__/\ \ _/_/_/\/\_\_ Jean-Michel Hiver - Software Director \ \ \/*/ / [EMAIL PROTECTED] +44 (0)114 221 4968 \ \/__\/ \/____\ VISIT HTTP://WWW.MKDOC.COM == / ===========================================================