Issue #1261846 by catch: Document 1MB maximum size limit for cache_set().

8.0.x
webchick 2013-03-16 23:00:52 -07:00
parent 8209c054a7
commit da805e2bc1
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,9 @@ interface CacheBackendInterface {
* The cache ID of the data to store.
* @param mixed $data
* 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
* One of the following values:
* - CacheBackendInterface::CACHE_PERMANENT: Indicates that the item should