What is compression for in PHP's Memcache?

Lewshoochemok

New Member
On PHP.net I am looking at the Memcache::set function and it has this optional flag to use compression... \[quote\] Use MEMCACHE_COMPRESSED to store the item compressed (uses zlib).\[/quote\]\[code\]$memcache_obj->set('var_key', 'some really big variable', MEMCACHE_COMPRESSED, 50);\[/code\]I am curious, what would be the benefit of this, just using less space? It seems like this would slow the process down?
 
Back
Top