3 ms·
I'm really not sure, so please don't shoot me if I'm wrong. I'd be happy to learn more/be proven wrong. I think the redis-store cache in rails also uses a rack
by gingerlime 14y ago
I'm really not sure, so please don't shoot me if I'm wrong. I'd be happy to learn more/be proven wrong.
I think the redis-store cache in rails also uses a rack middleware, and supports setting ttl on keys which will auto-expire on redis...?
https://github.com/jodosha/redis-store/blob/master/redis-rack-cache/lib/rack/cache/redis_entitystore.rb#L42 https://github.com/jodosha/redis-store/blob/master/redis-rac...