Talk:Caching

From MoodleDocs

When editing cache mappings most of a Primary store and a Final store setting. These setting really need to be defined as to their purpose.

Redis Cache Store Instance

The Section 6 Adding cache store instances section of this doc has these four options:

   6.1 File cache
   6.2 Memcache
   6.3 Memcached
   6.4 MongoDB

What about Redis? Can a "Redis cache store instance" be used here too? If so, please expand the article to explain this.


Memcache / Memcached

As of May 2019 various documents indicate that Memcache and Memcached are old technologies that aren't fully compatible with PHP 7 anymore. Examples:

Should this Memcache / Memcached section be removed from this documentation, or at least updated to indicate the modern alternatives that should be used instead?

Linked Tracker issue: MDL-65542

--Luis de Vasconcelos (talk) 11:23, 21 May 2019 (UTC)

As I commented in the tracker issue
Memcache and memcached as two separate interface libraries for PHP code to communicate with a a memcached back-end. Only memcached still works with PHP 7.x, but it does work just fine.--Tim Hunt 2 (talk) 16
59, 21 May 2019 (UTC)