diff options
author | Christian Schneider | 2009-03-16 16:49:09 +0000 |
---|---|---|
committer | Christian Schneider | 2009-03-16 16:49:09 +0000 |
commit | 8a64a00e6ad829593cba657a50599e54ebbd3036 (patch) | |
tree | f2e2d1cdaca0a25cafabcc19380ac074953d3e28 /it_cache.class | |
parent | f26e3204d00988f36d14e4264e637ce85adaf96c (diff) | |
download | itools-8a64a00e6ad829593cba657a50599e54ebbd3036.tar.gz itools-8a64a00e6ad829593cba657a50599e54ebbd3036.tar.bz2 itools-8a64a00e6ad829593cba657a50599e54ebbd3036.zip |
Compress data which is stored in memcache
Diffstat (limited to 'it_cache.class')
-rw-r--r-- | it_cache.class | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |