humanmade / altis-cloud

Cloud Module for Altis
https://docs.altis-dxp.com/cloud/
9 stars 2 forks source link

Update humanmade/wp-redis with new caching functions #663

Open kovshenin opened 2 years ago

kovshenin commented 2 years ago

Some new cache functions were introduced in WordPress 6.0:

The wp_cache_flush_runtime() in particular is quite interesting since it may be adopted by third-party plugins and libraries and expect to free up some memory, though the fallback/compat implementation does not free anything, so could result in exhausted memory errors. Since we have no way to determine whether runtime flushing is available, the work around that right now is to explicitly wp_suspend_cache_addition() for long-running (or high memory consumption) tasks, which is not ideal.

A wp_cache_flush_group() stub has also been introduced in 6.1, which should also be implemented.

The two upstream projects https://github.com/pantheon-systems/wp-redis and https://github.com/alleyinteractive/wp-redis haven't seen much activity lately, although there is a ticket open for some of these cache improvements.

Acceptance criteria

CStukey commented 2 years ago

Hey team! Please add your planning poker estimate with ZenHub @kovshenin @mikelittle @ferschubert-hm @wisyhambolu

CStukey commented 2 years ago

@jerico This ticket was refined and estimated during the Aug 10 refinement meeting.

spacedmonkey commented 1 year ago

Any update on this?