README 800 B

1234567891011121314151617181920212223242526272829
  1. The Memcache plugin implements cache interface for memcache.
  2. See: http://memcached.org/
  3. Installation
  4. ============
  5. add "addPlugin('Memcache');"
  6. to the bottom of your config.php
  7. Settings
  8. ========
  9. servers: Array of memcache servers addresses
  10. defaultExpiry: How long before cache expires (in seconds)
  11. compressThreshold: Items over this size threshold are eligible for compression (in bytes)
  12. compressMinSaving: If the compression would save more than this ratio, items are eligible for compression
  13. Note: To be compressed, an item must be both over the size threshold AND save
  14. more than the minimum ratio.
  15. Example
  16. =======
  17. addPlugin('Memcache', array(
  18. 'servers' => array('127.0.0.1;11211'),
  19. 'compressThreshold' => 20480,
  20. 'compressMinSaving' => 0.2,
  21. 'defaultExpiry' => 86400 // 24h
  22. ));