Just specify 0 and it won't expire. On Wed, 23 Nov 2011, Siddharth Jagtiani wrote:
> I noticed exp is int, not uint. So I wonder if I give -1 will it consider no > expiry :). > Siddharth > > On Wed, Nov 23, 2011 at 4:25 PM, Siddharth Jagtiani > <[email protected]> wrote: > Hi, > I am wondering if there is a way to set "no expiry" for objects in the cache. > I understand the fact that under stress, cache may expiry and > kick out objects, in situations like low memory. But in principle I would > like to setup a no expiry cache. > > I searched in the doc's but did not find anything that resembled no expiry > setting. > > Please advice > Siddharth > > > >
