-
Notifications
You must be signed in to change notification settings - Fork 17
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
Using common config #24
Comments
There is no API compatibility between the two plugins, because the object cache plugin is a hard fork of an existing solution. We would like to maintain backward compatibility with it, so that people can just plugin n' play and switch out anytime. But you idea is interesting. We can probably come up with something if more people need this. You're welcome to submit a patch as well. Leaving open for consideration. |
One idea is on the page cache plugin, to check if WP_REDIS_BACKEND_HOST is already set and if it is set, use that value instead of only the $redis_page_cache_config[] array for settings. Thoughts? |
It should be one of the default fallbacks in the configuration parser. If it's not explicitly set then check the |
@soulseekah I appreciate the vote of confidence in me. I looked at the code and I'm not seeing the most appropriate way to patch it. Please do feel free to go ahead and patch it the correct way to the standards. |
I read through the code again and proposed the change. Thanks! |
Great plugin, thank you so much for it.
I am wondering if you would be willing to support a common config between the object cache and the page cache plugins? Or maybe it already exists and I didn't see it
This is my current config to support both
The text was updated successfully, but these errors were encountered: