Opened 4 years ago

Closed 4 years ago

#9773 closed feature request (wontfix)

Allow a partial flush of the object cache

Reported by: Denis-de-Bernardy Owned by: anonymous
Priority: normal Milestone:
Component: Optimization Version: 2.8
Severity: normal Keywords: has-patch tested
Cc:

Description

I'm using the object cache extensively in a plugin, and I'd like to be able to partially flush it, as in:

wp_cache_flush('my-group');

while leaving the rest of the cache alone.

Attachments (1)

9773.diff (932 bytes) - added by Denis-de-Bernardy 4 years ago.

Download all attachments as: .zip

Change History (6)

a delete transient by key would also be neat

see also:

http://core.trac.wordpress.org/attachment/ticket/9009/9009.diff

  • Keywords commit added

comment:3   ryan4 years ago

All cache backends would need to support this, and I don't think we're going to get memcached to comply.

  • Keywords commit removed
  • Milestone changed from 2.8 to Future Release

fair enough. want me to supply a diff for the memcached plugin in the plugins trac, so that it works out its keys in the needed manner?

  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

actually... nevermind. I'll just create a big array instead.

Note: See TracTickets for help on using tickets.