WordPress / wordpress-develop Public mirror
mirrored from git://develop.git.wordpress.org/New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inits 115 support flushing cache groups #2368
base: trunk
Are you sure you want to change the base?
Inits 115 support flushing cache groups #2368
Conversation
Co-authored-by: Jonny Harris <[email protected]>
added filter to allow plugin to adjust the called function
# Conflicts: # src/wp-includes/class-wp-object-cache.php # tests/phpunit/tests/cache.php
If this to live in core there needs to be a compat function found in core in cache-compat.php. This function would need to work for ALL object cache implementation, including and not limited to memcached. I personally think this is going be nearly impossible, as it is hard to know the implementation details of every object cache. But without that compatible layer, this can not live in core |
It's a FAQ and the suggested approch is using prefixes, which I believe |
Co-authored-by: Till Krüss <[email protected]>
Co-authored-by: Till Krüss <[email protected]>
Co-authored-by: Till Krüss <[email protected]>
…_groups' into INITS-115-Support_flushing_cache_groups
Please use remove test for |
If this is going to make it into core, then we are going to need some constant, like Thoughts? |
Reminds me of If we default to flushing the entire cache (in the compatibility method), can you give an example how and where |
I am not sure we do need the global WP_ALLOW_CACHE_GROUPS as I test for a flush_group function |
Co-authored-by: Till Krüss <[email protected]>
Co-authored-by: Till Krüss <[email protected]>
Co-authored-by: Till Krüss <[email protected]>
Co-authored-by: Till Krüss <[email protected]>
Co-authored-by: Till Krüss <[email protected]>
Co-authored-by: Till Krüss <[email protected]>
WordPress/performance#38
Trac ticket: https://core.trac.wordpress.org/ticket/4476