
rst at ai
Mar 13, 1995, 1:49 PM
Post #3 of 4
(112 views)
Permalink
|
Date: Mon, 13 Mar 95 18:29 GMT From: drtr [at] ast (David Robinson) >E7) Send Last-modified header for server-side-included docs if > group XBIT is set. [Rob Hartill, by way of Andrew Wilson] Would this not be far more neatly implemented by a new shtml directive? David. Actually, there already is something like this in the spec --- <META http-equiv="last-modified">, although for maximum convenience the server would have to be hacked to plug in the actual last-modified date if no other data were supplied. The real problem with implementing this is that it requires nontrivial surgery on the http_includes code --- the server needs to do a prepass over the document which covers at least the <HEAD> (and, for the sake of efficiency, to be smart enough to figure out where that ends without explicit </HEAD> tags) before printing the MIME headers. After that, assuming that the client isn't just being told to USE_LOCAL_COPY, the server has to go back and do a second pass in which it actually scans the document (shipping most of it back to the client, and interpreting the remaining directives). This is obviously the right thing, but it's also a nontrivial amount of work, so it'll have to be deferred until someone is motiviated enough to roll up their sleeves and code it. rst
|