Jonny Harris
40768e4ebe
Cache API: Add wp_cache_flush_group function.
...
Add a new plugable function called `wp_cache_flush_group`, that will allow developers to clear whole cache groups with a single call. Developers can detect if their current implementation of an object cache supports flushing by group, by calling `wp_cache_supports_group_flush` which returns true if it is supported. If the developers of the object cache drop-in has not implemented `wp_cache_flush_group` and `wp_cache_supports_group_flush`, these functions are polyfilled and `wp_cache_supports_group_flush` defaults to false.
Props Spacedmonkey, filosofo, ryan, sc0ttkclark, SergeyBiryukov, scribu, Ste_95, dd32, dhilditch, dougal, lucasbustamante, dg12345, tillkruess, peterwilsoncc, flixos90, pbearne.
Fixes #4476 .
git-svn-id: https://develop.svn.wordpress.org/trunk@53763 602fd350-edb4-49c9-b593-d223f7449a82
2022-07-22 20:50:31 +00:00
..
2021-11-04 15:22:47 +00:00
2022-06-24 14:41:11 +00:00
2022-07-14 14:26:37 +00:00
2022-07-07 21:06:03 +00:00
2022-07-07 21:06:03 +00:00
2022-07-19 13:22:31 +00:00
2021-12-21 00:10:26 +00:00
2022-03-09 15:06:09 +00:00
2022-07-07 23:00:07 +00:00
2022-06-23 14:24:08 +00:00
2021-11-08 14:21:44 +00:00
2022-06-24 15:02:18 +00:00
2021-11-04 15:22:47 +00:00
2022-01-21 05:58:13 +00:00
2021-11-25 19:39:31 +00:00
2022-05-07 02:51:54 +00:00
2021-08-20 16:11:04 +00:00
2021-08-21 15:32:53 +00:00
2022-05-23 14:20:47 +00:00
2022-04-21 23:11:10 +00:00
2021-11-04 15:22:47 +00:00
2022-07-21 21:09:56 +00:00
2022-05-20 17:36:23 +00:00
2022-04-11 05:01:04 +00:00
2021-12-19 13:42:37 +00:00
2022-06-12 15:16:09 +00:00
2022-07-21 18:01:01 +00:00
2021-11-04 15:22:47 +00:00
2022-01-30 19:40:57 +00:00
2021-11-25 19:39:31 +00:00
2022-07-20 15:39:18 +00:00
2022-05-20 17:36:23 +00:00
2022-07-05 00:46:54 +00:00
2021-11-25 19:39:31 +00:00
2022-06-23 14:24:08 +00:00
2022-04-07 17:57:59 +00:00
2022-03-22 16:23:32 +00:00
2022-06-23 14:24:08 +00:00
2022-06-08 13:17:27 +00:00
2021-11-04 15:22:47 +00:00
2022-07-22 13:22:04 +00:00
2022-06-01 14:16:39 +00:00
2022-05-22 15:15:47 +00:00
2022-07-22 13:58:46 +00:00
2022-06-21 13:32:48 +00:00
2022-06-22 16:50:14 +00:00
2021-08-07 10:29:41 +00:00
2022-07-08 00:11:15 +00:00
2022-07-20 21:11:30 +00:00
2022-07-08 00:11:15 +00:00
2022-07-05 09:26:21 +00:00
2022-04-30 11:33:30 +00:00
2021-12-06 21:29:00 +00:00
2022-03-02 15:38:27 +00:00
2021-12-19 13:42:37 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-11-15 01:08:35 +00:00
2022-06-09 05:29:57 +00:00
2022-07-07 23:55:13 +00:00
2022-06-01 14:16:39 +00:00
2022-04-07 13:33:03 +00:00
2022-07-22 20:50:31 +00:00
2022-04-01 03:23:07 +00:00
2022-07-07 23:00:07 +00:00
2022-07-20 14:47:39 +00:00
2021-11-04 15:22:47 +00:00
2022-06-24 15:02:18 +00:00
2022-07-06 05:31:47 +00:00
2021-11-04 15:22:47 +00:00
2021-12-07 17:44:46 +00:00
2022-03-14 16:30:35 +00:00
2022-03-23 14:48:28 +00:00
2022-06-03 15:05:28 +00:00
2021-08-26 12:57:08 +00:00
2021-08-26 12:57:08 +00:00
2022-05-02 13:11:07 +00:00
2022-06-20 22:55:52 +00:00
2021-11-04 15:22:47 +00:00
2021-08-07 10:29:41 +00:00
2022-02-25 14:08:53 +00:00
2022-07-21 18:01:01 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2022-07-22 20:50:31 +00:00
2022-06-23 18:46:18 +00:00
2022-06-10 15:15:07 +00:00
2022-04-19 14:38:16 +00:00
2021-12-19 13:42:37 +00:00
2021-08-26 12:57:08 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2022-07-06 05:09:22 +00:00
2021-08-07 10:29:41 +00:00
2022-03-16 03:04:40 +00:00
2022-05-06 11:09:54 +00:00
2021-11-04 15:22:47 +00:00
2022-07-08 00:11:15 +00:00
2022-07-12 21:03:39 +00:00
2022-07-07 23:55:13 +00:00
2021-11-04 15:22:47 +00:00
2021-11-27 16:16:15 +00:00
2021-08-07 10:29:41 +00:00