Re: modifying cache times based on API call

2012-10-16 Thread Greg Skerman
ok so one idea I had was to call GC before every read, and then read everything with an obnoxiously long expiry time via set... which seems terrible to me but might work - anyone got any better ideas? On Mon, Oct 15, 2012 at 1:18 AM, Greg Skerman wrote: > Hi, > > I am connecting an API which p

modifying cache times based on API call

2012-10-14 Thread Greg Skerman
Hi, I am connecting an API which provides values that are intended to instruct the consumer on how long to cache a result for. Different API calls have different cache times (and these cache times may be variable, so setting up a config for each possible outcome is out of the question). Essential