In memory gzip cache method use max compression
This commit is contained in:
parent
d8850176a1
commit
6acd403251
|
@ -37,7 +37,7 @@ class MemoryGZip extends CacheBase implements ICache
|
||||||
if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {
|
if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {
|
||||||
$this->currentObject->detach();
|
$this->currentObject->detach();
|
||||||
|
|
||||||
$this->cellCache[$this->currentObjectID] = gzdeflate(serialize($this->currentObject));
|
$this->cellCache[$this->currentObjectID] = gzdeflate(serialize($this->currentObject), 9);
|
||||||
$this->currentCellIsDirty = false;
|
$this->currentCellIsDirty = false;
|
||||||
}
|
}
|
||||||
$this->currentObjectID = $this->currentObject = null;
|
$this->currentObjectID = $this->currentObject = null;
|
||||||
|
|
Loading…
Reference in New Issue