Note: You are currently viewing documentation for Moodle 3.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Caching.

Talk:Caching: Difference between revisions

From MoodleDocs
(Addd a Redis Cache Store Instance)
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:


=== Redis Cache Store Instance ===
=== Redis Cache Store Instance ===
The '''Section 6 Adding cache store instances''' section of this doc has these options:
The '''Section 6 Adding cache store instances''' section of this doc has these four options:


     6.1 File cache
     6.1 File cache
Line 10: Line 10:


What about Redis? Can a "Redis cache store instance" be used here too? If so, please expand the article to explain this.
What about Redis? Can a "Redis cache store instance" be used here too? If so, please expand the article to explain this.
--[[User:Luis de Vasconcelos|Luis de Vasconcelos]] ([[User talk:Luis de Vasconcelos|talk]]) 14:31, 23 April 2019 (UTC)
 
 
=== 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:
* MDL-55602 says "memcache is not PHP7 compatible".
* [https://moodle.org/mod/forum/discuss.php?d=355932#p1435923 Re: memcached problem]
* [https://moodle.org/mod/forum/discuss.php?d=371013#p1496352 Re: Memcahed and moodle 3.5]
* [https://moodle.org/mod/forum/discuss.php?d=366556 Upgrading 3.1.5 to 3.4.1]
 
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
 
--[[User:Luis de Vasconcelos|Luis de Vasconcelos]] ([[User talk: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.--[[User:Tim Hunt 2|Tim Hunt 2]] ([[User talk:Tim Hunt 2|talk]]) 16:59, 21 May 2019 (UTC)

Latest revision as of 16:59, 21 May 2019

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)