Module MemCached EN

= Informations =

= Features = Allows Dolibarr to increase speed by using a cache server MemCached. Dolibarr use this cache to store result of redundant operation like reading language files. According to platform, speed increase can be between 20% and 40%.

= Prerequisites = To install/use this module, you must before:
 * Have a running memcached server and know its address (ex: localhost) and its port (ex: 11211). Process to install such a server is not part of this documentation. See articles found on the Internet for this. Ie:

- See http://jehiah.cz/projects/memcached-win32/ to install a memcached server on Windows

- See http://2bits.com/articles/installing-memcached-125-and-memcache-pecl-223-ubuntu-server.html for an installation on Ubuntu, ... Again, if those functions are not available, search article on the Internet to see how to setup your PHP to support memcache ou memcached.
 * Have functions "memcache" or "memcached" activated into your PHP (Go into Dolibarr menu Home -> System information -> PHP to see if at least one PHP client (memcache or memcached) is available.

= Installation =

= Configuration =

Module setup page:

In the module setup page, you must fille the following informations: Save and that's all. Dolibarr should now use the cache server when it can.
 * Name of Memcached server: Put a DNS name or IP address of Memcached server.
 * Port or Memcached server: Put here the port of the Memcached server.

Note: If you add the line into file htdocs/conf/conf.php, then the 2 tabs to view statistics on cache server are removed. This is usefull for web hosting providers of Dolibarr (SaaS) to avoid users to see informations (the cache content) shared by the hosted server.

= Usage = This module is a technical module. As soon as setup is done, Dolibarr use the cache server when it thinks it's necessary. There is no other things to do.

= Development =