Loading...
 
Skip to main content

History: Memcached

Source of version: 13 (current)

Copy to clipboard
            New in ((Tiki4)) in ((Performance)) admin panel. This is for advanced users. See also ((Redis)).

! What is Memcached
Free & Open Source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. 
It is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
Tiki has a feature to connect to memcached servers to store temporary information.

! How to use it
In order to benefit from memcached, you need to activate the feature, from your control panel.
Go to : __Settings__->__control panels__->Performance and then select __memcached__, in order to see the menu content, assume that __advance mode__ is activated and memcached is already installed if not go to [https://wikisuite.org/Memcached|How to install Memcached].

Memcached need client address where is going to construct your memcached client object. There could be one or more server addresses you will provide.
Simple example of server addsresses you can set on __Memcache servers__ field:
{CODE(caption="Memcache servers" wrap="1" theme="dracula")}
localhost:1211(1)
{CODE}

http://memcached.org/
{HTML()}<script type='text/javascript' src='https://openhub.net/p/memcached/widgets/project_factoids_stats?format=js'></script>{HTML}

-=alias=-
(alias(Memcache))