--- a/C4/Installer/PerlDependencies.pm +++ a/C4/Installer/PerlDependencies.pm @@ -265,7 +265,12 @@ our $PERL_DEPS = { 'Cache::Memcached::Fast' => { 'usage' => 'Caching', 'required' => '0', - 'min_ver' => '0.17' + 'min_ver' => '0.19' + }, + 'Cache::Memcached::Fast::Safe' => { + 'usage' => 'Caching', + 'required' => '0', + 'min_ver' => '0.06' }, 'Cache::FastMmap' => { 'usage' => 'Caching', --- a/Koha/Cache.pm +++ a/Koha/Cache.pm @@ -87,7 +87,7 @@ sub new { $self->{namespace} .= ":$subnamespace:"; if ( $self->{'default_type'} eq 'memcached' - && can_load( modules => { 'Cache::Memcached::Fast' => undef } ) + && can_load( modules => { 'Cache::Memcached::Fast::Safe' => undef } ) && _initialize_memcached($self, @servers) && defined( $self->{'memcached_cache'} ) ) { @@ -120,9 +120,9 @@ sub _initialize_memcached { . join( ', ', @servers ) . " with " . $self->{'namespace'}; - # Cache::Memcached::Fast doesn't allow a default expire time to be set + # Cache::Memcached::Fast::Safe doesn't allow a default expire time to be set # so we force it on setting. - my $memcached = Cache::Memcached::Fast->new( + my $memcached = Cache::Memcached::Fast::Safe->new( { servers => \@servers, compress_threshold => 10_000, --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -102,7 +102,7 @@ [% CASE # nowhere %] Nowhere Note that the right place to define the memcached config is in your $KOHA_CONF file. Currently you do not have a valid memcached configuration defined. [% END %] - [% IF effective_caching_method != 'Cache::Memcached::Fast' %] + [% IF effective_caching_method != 'Cache::Memcached::Fast::Safe' %] | Effective caching method: [% effective_caching_method | html %] [% END %] --