Automattic / Automattic/wp-memcached

Implement wp_cache_flush_group()

Open
#80 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
172
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Per https://core.trac.wordpress.org/ticket/4476

This would require adding an additional flush group on a per-cache-group basis.

Falling back to `wp_cache_flush()` would cause issues if a plugin on the main site attempted to flush a specific cache group, as it'd rotate every cache.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked WordPress Trac ticket 4476 and the wp_cache_flush_group() and wp_cache_flush() entry points named in the issue. Trace how cache groups are handled, then verify that flushing one group does not rotate or flush every cache group.

Written by the indexing model from the issue text.

Assessment

Tech stack
memcached, php, wordpress
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.