* @var string a string prefixed to every cache key so that it is unique. Defaults to null which means
* @var string a string prefixed to every cache key so that it is unique. Defaults to null, meaning using
* to use the {@link CApplication::getId() application ID}. If different applications need to access the same
* the value of [[Application::id]] as the key prefix. You may set this property to be an empty string
* pool of cached data, the same prefix should be set for each of the applications explicitly.
* if you don't want to use key prefix. It is recommended that you explicitly set this property to some
* static value if the cached data needs to be shared among multiple applications.
*/
*/
public$keyPrefix;
public$keyPrefix;
/**
/**
* @var boolean whether to hash the cache key for normalization purpose. Defaults to true.
* @var boolean whether to hash the cache keys so that they can fit in the underlying cache storage.
* Setting this property to false makes sure the cache
* Defaults to true. If you set this to be false, you have to make sure the cache keys are allowed by
* key will not be tampered when calling the relevant methods {@link get()}, {@link set()}, {@link add()} and {@link delete()}. This is useful if a Yii
* the cache storage.
* application as well as an external application need to access the same cache pool (also see description of {@link keyPrefix} regarding this use case).
* However, without normalization you should make sure the affected cache backend does support the structure (charset, length, etc.) of all the provided
* cache keys, otherwise there might be unexpected behavior.