Replies: 1 comment 1 reply
-
what is __construct()? i dont understand the first |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to bring load times to the top,
public function __construct() { $this->redis = new \CI_Predis\Redis(); }
How can I use redis across multiple classes/modules? Because loading models and cache driver take some time and I think it can be optimized.
Beta Was this translation helpful? Give feedback.
All reactions