Replies: 1 comment 1 reply
|
what is __construct()? i dont understand the first |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions