Add compression support to objectcache data
[gitphp.git] / config / gitphp.conf.defaults.php
blob:a/config/gitphp.conf.defaults.php -> blob:b/config/gitphp.conf.defaults.php
--- a/config/gitphp.conf.defaults.php
+++ b/config/gitphp.conf.defaults.php
@@ -346,6 +346,14 @@
  * this to a high number.  Set to -1 to never expire.
  */
 $gitphp_conf['objectcachelifetime'] = 86400;
+
+/*
+ * objectcachecompress
+ * Sets the size threshold at which objects will be compressed
+ * when being stored into the object cache.  Compression saves
+ * cache space but adds a very slight decompression overhead.
+ */
+$gitphp_conf['objectcachecompress'] = 500;
 
 /*
  * memcache

comments