Redis in Phalcon2 problem with function get



where is setted the redis key timeout in get funcion? lifetime isn't used.

Function get don't refresh expire time.

edited Jan '15


I'm not an expert at all with redis caching, but, imho, redis is used as a backend for caching datas, and frontend looks like it is the one who manage the lifetime cache.

look at this:

Edit: but after having a deeper look at zep source code for redis cache backend ( and apc cache backend (, it appears that they are node exactly coded the same. Can this be a reason ?


Hi, thanks

I think the expire time is not updated in any cache class (redis, apc....). The lifetime argument is not used in any line. Is a bug?