-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Allow memcache
and redis
to be automatically selected as cache method when present
#867
Comments
it's the very need of these two cache providers to require options to be configured, which is why they are not included in the auto selection process. With invalid settings, this would just cause your site to fail, and you wouldn't really know why. Better to manually change these settings, and then set the cache to use this provider explicitly. |
@rhukster Ok, this addresses point 1.) My point 2. addresses the configuration options for these two cache providers. In the admin panel they can not be adjusted and not even be selected manually. What I mean is, there are no special cache specific options for both two cache providers: From the cache driver options there is no possibility to set Redis (my point 2) or APCu (my point 3) manually: |
PR #887 addresses this issue. Adds Redis (and memcached) to the list, allows to configure them. |
Thanks! :-) Was about to implement it by myself EDIT: Wait, not merged yet. |
Give it a try with memcache(d) if you want you use them, will test too |
I have Grav running with Redis and one with Memcached under PHP7. It's working like a charm :-) |
👍 |
merged |
extension_loaded(...)
checks are missing.The text was updated successfully, but these errors were encountered: