Caching engine implementation¶
This chapter describes how to enable memcached support in gallery. Also explains configuration options regarding memcached.
Cache configuration section in settings.ini.php file.¶
This section can be found in settings/settings.ini.php file.
- cache_global_key - this item describes global site cache key prepend. It's useful if server is running more than one gallery and uses same memcached instance. It should be unique per site.
- className - class name responsible for internal caching. Currently there are only one implementation "erLhcoreClassLhMemcache".
In order to enable caching className must be filled with class name.
'cacheEngine' => array(
'cache_global_key' => 'global_site_cache_key',
'className' => false //'erLhcoreClassLhMemcache' //false if none
),
Finding caching problems.¶
If you see strange behavior you should restart memcached. :)