From b2577abd4dc87458a35788708d4a69341398ee09 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Mon, 8 Nov 2010 22:59:17 -0500 Subject: [PATCH] use zlib compression to store huge list (like site or account list) --- php/plc_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/plc_api.php b/php/plc_api.php index fed47592..886825cf 100644 --- a/php/plc_api.php +++ b/php/plc_api.php @@ -132,7 +132,7 @@ class PLCAPI $key = $this->generateKey($method, $args); if ($key != NULL) { - $memcache->set($key, $result == NULL ? "NULL" : $result, false, 6000); + $memcache->set($key, $result == NULL ? "NULL" : $result, MEMCACHE_COMPRESSED, 600); } } return $result; -- 2.47.0