cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianugo Rabellino <gian...@apache.org>
Subject Re: [VOTE] Adding "Expires" headers to pipelines
Date Sun, 26 May 2002 20:16:09 GMT
Sylvain Wallez wrote:
> 
> +1 for both.
> 
> About the syntax, mod_expires states that 'now' and 'access' are 
> equivalent, so what about removing 'now/access plus' and only keep the 
> duration ?

There are two reasons actually for this syntax:

1. compatibility and consistency with another module doing the very same 
thing in another Apache project(from an usability point of view this can 
be worth considering);

2. there is a third keyword in mod_expires which is "modification". ATM 
this is not implemented, and I don't see any easy way to implement it 
considering that:
   - we should decide whether the "modification" keyword applies to 
generation or to the latest modification in the pipeline (a transformer 
in the chain or whatever);
   - there are many sources that don't implement the last modification 
date (ATM Xindice as an example), in this case we might consider 
reverting to "now" (which is how it's done now: "modification" is 
converted to "now", but this has to be decided.
In any case, I think that implementing the "modification" keyword might 
make sense in some future, so I'd rather stick to the actual syntax. 
I'll see what I can do, however, to have both syntaxes accepted.

Ciao,

-- 
Gianugo Rabellino



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message