Setting cache timeout to a key in Codeigniter using predis package
<p>In Codeigniter, I've installed predis package using Composer. I'm able to set and get the value from cache using this package. My requirement is I need to keep the value in cache using <code>Redis</code> for 1 min. I have seen different options setting through <code>Redis</code> Terminal. But I need to set the time limit in controller Itself. Any Idea ? </p>