Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-20 Thread Adrian Hungate
Withers [EMAIL PROTECTED]; Casey Duncan [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 20, 2002 2:45 PM Subject: Re: [Zope-dev] Last-modified and bobobase_modification_time On Thu, 20 Jun 2002, Toby Dickenson wrote: In either case, Zope's current implementation needs

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-18 Thread Oliver Bleutgen
Wei He wrote: On Mon, 17 Jun 2002, Dieter Maurer wrote: R. David Murray writes: ... Well, there's two aspects to this. The first one is the quesiton of *why* the last modified header is currently that of the outermost page template. That's a [EMAIL PROTECTED] question. The second

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-18 Thread Wei He
On Tue, 18 Jun 2002, Oliver Bleutgen wrote: Would please go a little bit deeper giving an example what information HEAD requests don't pass to the server, although it's beyond this topic. HEAD requests are required to have no side effects. On the other hand they are required to

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-18 Thread Steve Alexander
Wei He wrote: On Tue, 18 Jun 2002, Oliver Bleutgen wrote: Would please go a little bit deeper giving an example what information HEAD requests don't pass to the server, although it's beyond this topic. HEAD requests are required to have no side effects. On the other hand they are required

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-18 Thread Toby Dickenson
Rendering may produce side effects. But HEAD requests are required by HTTP not to have side effects. RFC 2616 section 9.4 states that HEAD is identical to GET in this respect, and both should have no side effects. On Tuesday 18 Jun 2002 10:26 am, Wei He wrote: I think the last step is

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-18 Thread Oliver Bleutgen
Toby Dickenson wrote: Rendering may produce side effects. But HEAD requests are required by HTTP not to have side effects. RFC 2616 section 9.4 states that HEAD is identical to GET in this respect, and both should have no side effects. On Tuesday 18 Jun 2002 10:26 am, Wei He

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-18 Thread Dieter Maurer
Wei He writes: ... 2. From the website developers' point of view, there are already many guidlines on how to create a good webpage. Among them are using the HTTP Last-modification header to take the advantages of client cache. I think you overestimate the importance of accurate

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-18 Thread Wei He
On Tue, 18 Jun 2002, Dieter Maurer wrote: Wei He writes: ... 2. From the website developers' point of view, there are already many guidlines on how to create a good webpage. Among them are using the HTTP Last-modification header to take the advantages of client cache. I think you

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-16 Thread Chris Withers
BTW: This list if for development *of* Zope, the [EMAIL PROTECTED] 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

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-16 Thread Wei He
On Sun, 16 Jun 2002, Chris Withers wrote: BTW: This list if for development *of* Zope, the [EMAIL PROTECTED] 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

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-16 Thread R. David Murray
On Sun, 16 Jun 2002, Chris Withers wrote: Why do you think that? Surely all zope users will care about this? ;-) Besides, that's not the point, re-read Casey's email more carefully... 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

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-15 Thread Wei He
On 14 Jun 2002, Casey Duncan wrote: BTW: This list if for development *of* Zope, the [EMAIL PROTECTED] 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

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-14 Thread Casey Duncan
BTW: This list if for development *of* Zope, the [EMAIL PROTECTED] list is better for questions bout developing *with* Zope. On to your question: 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

Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-14 Thread Steve Alexander
Casey Duncan wrote: BTW: This list if for development *of* Zope, the [EMAIL PROTECTED] list is better for questions bout developing *with* Zope. On to your question: 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

[Zope-dev] Last-modified and bobobase_modification_time

2002-06-13 Thread Wei He
Hi all, Say you have 1_html with only one line: dtml-var 2_html When you HEAD http://xxx/1_html, you get Last-Modified refelecting only the last modification time of 1_html, while most people is expecting it to be newer one of 1_html and 2_html. Does anyone know of a walk-around like using