On 8/26/10 10:38 PM, kedy211 wrote:
Thanks. I got the defined code in the memcached.c: #define REALTIME_MAXDELTA 60*60*24*30It's extreme question. DB or filecahce will be smart choise when it's necessary to cache sth more than 3days.
The best solution is to always use a unix timestamp. If you want a 300 second ttl, set the ttl to time() + 300. Then you never have to worry about it.
-- Brian. -------- http://brian.moonspot.net/
