[Zope-dev] Last-modified and bobobase_modification_time

Wei He hewei@mail.ied.ac.cn
Sat, 15 Jun 2002 22:41:32 +0800 (CST)


On 14 Jun 2002, Casey Duncan wrote:

> BTW: This list if for development *of* Zope, the zope@zope.org list is
> better for questions bout developing *with* Zope.
> 
Thanks for your codes indeed. I posted it here because I thought only 
people have high developing skill care about whether their web 
pages are up-to-date to their readers and so care the HTTP Last-modified 
header. And why don't you think this issue is not for Zope developers?
Dosen't Zope care about readers getting the accurate information?

Although I'm new to Zope, I'm not new to mailing list. I know the 
mailing list rule but I just don't agree with your classification of my 
question. 

I'll post the next develope-with-zope issue to that list. 

> There is no automatic way in which DTML can do this for you. This is
> simply because <dtml-var foo> doesn't tell Zope what foo is. Is it a
> document or a script that returns something different every time it is
> called or something else? In fact foo might different things at
> different times, if you aquire the template into different contexts.

I think it isn't a bad thing DTML doing this for me. At least the 
Last-modified header can refelect the template modification time.

Wei He