Thanks, everyone,
it's really helpful

David Xiao

On Sat, Jul 14, 2012 at 7:12 AM, Anthony <[email protected]> wrote:

> Right, you are using a ram cache, so you would have to explicitly
>> invalidate the cached items if you want to update them. I would not rely on
>> the time_expire to handle that for you, unless you are really not too
>> concerned about it.
>
>
> To be clear, the cached value will reliably get updated whenever the time
> since the previous save exceeds the current value of time_expire, so you
> can rely on time_expire to update based on the interval it specifies.
> Nevertheless, there may be times you want to update the cached value based
> on something other than the time that has expired since the last update.
> That is possible as well, though a separate issue.
>
> Anthony
>

Reply via email to