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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to