From 8a64a00e6ad829593cba657a50599e54ebbd3036 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Mon, 16 Mar 2009 16:49:09 +0000 Subject: Compress data which is stored in memcache --- it_cache.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_cache.class') diff --git a/it_cache.class b/it_cache.class index 718ac3b..c3677e3 100644 --- a/it_cache.class +++ b/it_cache.class @@ -68,7 +68,7 @@ function put($key, $value, $p = array()) if ($p['distributed'] && ($memcache = it_cache::_get_memcache($p))) { - @$memcache->set($key, $value, 0, $p['ttl']); + @$memcache->set($key, $value, MEMCACHE_COMPRESSED, $p['ttl']); } else { -- cgit v1.2.3