public function get( $key, $group = 'default', $force = false, &$found = null ) { if ( ! $this->is_valid_key( $key ) ) { $found = false; return false; } $group = $this->normalize_group( $group ); $id = $this->local_key( $key, $group ); if ( ! $force && $this->runtime_exists( $id, $group ) ) { $found = true; ++$this->cache_hits; return $this->clone_value( $this->cache[ $group ][ $id ] ); } if ( ! $this->redis_connected || ! $this->is_persistent_group( $group ) ) { $found = false; ++$this->cache_misses; return false; } try { $payload = $this->redis->get( $this->redis_key( $key, $group ) ); if ( $payload === false ) { $found = false; ++$this->cache_misses; return false; } // ✅ safe decompress (fallback if not compressed) $data = @gzuncompress( $payload ); if ( $data === false ) { $data = $payload; } $value = unserialize( $data, array( 'allowed_classes' => true ) ); $this->remember( $id, $group, $value ); $found = true; ++$this->cache_hits; return $this->clone_value( $value ); } catch ( Throwable $e ) { $this->redis_connected = false; $found = false; ++$this->cache_misses; return false; } }
Welcome, Login to your account.
Want an easier way to log in?
Log in faster without a password.
Passkeys require JavaScript. If you cannot enable JavaScript, log in with a Magic Link or Password instead.
Want an easier way to log in?
Log in faster without a password.
Passkeys require JavaScript. If you cannot enable JavaScript, log in with a Magic Link or Password instead.
Recover your password.
A password will be e-mailed to you.