[tbnl-devel] Last-Modified / If-Modified-Since Headers

Edi Weitz edi at agharta.de
Tue Jul 13 23:19:45 UTC 2004


On Tue, 13 Jul 2004 16:43:22 -0400, pete-tbnl-dev at kazmier.com wrote:

> Provide a special variable, *last-modified-handler*, that users can
> set to return a timestamp?  From within that method, users would
> have access to *request* so they could return specific times for
> various URIs.

Sounds like a good idea to me. The initial value of this special
variable should probably be (CONSTANTLY NIL) where NIL returned by the
handler means that it declines to provide a timestamp - which would be
equivalent to returning (GET-UNIVERSAL-TIME). The handlers should
generally return universal-times, of course.

Something like that. Would you like to send a patch?

> This is what I need it for, my entire site will be served by
> HTML-TEMPLATEs and I'll use the last time the template file was
> modified as my timestamp.

But even if the template itself hasn't changed you might fill the
template with different values each time it is called, isn't that the
whole purpose of HTML-TEMPLATE? Or am I missing something?

Cheers,
Edi.




More information about the Tbnl-devel mailing list