litespeedtech / litespeedtech/lscache_wp
No support for wp_cache_flush_group()
- Dominant language
- PHP
- Stars
- 257
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
The plugin has no support for wp_cache_flush_group():
https://developer.wordpress.org/reference/functions/wp_cache_flush_group/
This is explicitly defined inside this file here: https://github.com/litespeedtech/lscache_wp/blob/master/src/object.lib.php#L331
It's been years since WP added this wp_cache_flush_group(); function...when is this expect to be included?
This affects my workflow because on sites where I have custom plugins, I need to disable the litespeed plugin and install W3 Total Cache simply because sometimes the cache keys I create are dynamic, and the values used to create them are not always available in methods where I would want to clear those cache keys.
Being able to clear the entire group is far more efficient. Any plans on this?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in src/object.lib.php around the wp_cache_flush_group() definition referenced by the issue, and compare it with the WordPress function documentation. Trace how the plugin handles cache groups and determine the behavior needed for group-wide flushing. Done means the plugin supports wp_cache_flush_group() for the described workflow, with verification against the documented function behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100