Well, of course we can, the difference is just semantical. In any case we
could calculate the expiresIn parameter in an absolute time, of course and
we could put in another field if that time has to be considered absolute or
sliding (TTI). Probably this would be cleaner, you are right.

Ciao,
    R

On Mon, Oct 17, 2011 at 1:17 PM, Ashish <[email protected]> wrote:

> On Mon, Oct 17, 2011 at 4:20 PM, Raffaele P. Guidi
> <[email protected]> wrote:
> > expires should be an absolute date value, while expiresIn should be an
> > elapsed in milliseconds (TTL, I guess). What does TTI mean?
>
> Do we need these two attributes to calculate expiry? IMHO, we can use one.
>
> TTI == Time to Idle
>
> Caches do have a use case where an entry which has not been accessed
> since last X sec, can be evicted.
>
> thanks
> ashish
>

Reply via email to