Issue #1261846 by catch: Document 1MB maximum size limit for cache_set().
parent
8209c054a7
commit
da805e2bc1
|
@ -125,6 +125,9 @@ interface CacheBackendInterface {
|
||||||
* The cache ID of the data to store.
|
* The cache ID of the data to store.
|
||||||
* @param mixed $data
|
* @param mixed $data
|
||||||
* The data to store in the cache.
|
* The data to store in the cache.
|
||||||
|
* Some storage engines only allow objects up to a maximum of 1MB in size to
|
||||||
|
* be stored by default. When caching large arrays or similar, take care to
|
||||||
|
* ensure $data does not exceed this size.
|
||||||
* @param int $expire
|
* @param int $expire
|
||||||
* One of the following values:
|
* One of the following values:
|
||||||
* - CacheBackendInterface::CACHE_PERMANENT: Indicates that the item should
|
* - CacheBackendInterface::CACHE_PERMANENT: Indicates that the item should
|
||||||
|
|
Loading…
Reference in New Issue