src/models/Settings.php
public function getKeyPrefix()
    {
        if (!$this->keyPrefix) {
            return '';
        }

        $clean = Inflector::slug($this->keyPrefix);
        return substr($clean, 0, 8);
    }
public function getKeyPrefix()
    {
        if (!$this->keyPrefix) {
            return '';
        }

        $clean = Inflector::slug($this->keyPrefix);
        return substr($clean, 0, 8);
    }
public function getKeyPrefix ( ) { if ( ! $ this -> keyPrefix ) { return '' ; } $ clean = Inflector :: slug ( $ this -> keyPrefix ) ; return substr ( $ clean , 0 , 8 ) ; }
Get key prefix.
To prevent key collision if you use the same
cache server for several Craft installations.

@return string
Get key prefix . To prevent key collision if you use the same cache server for several Craft installations .