-
Notifications
You must be signed in to change notification settings - Fork 7
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
Change cache URL and port #5
Comments
Hi, you could implement your own CacheInterface, similar to the default one that uses Memcached and change the url/port there. We could look into adding the url/port setters in the next release, what do you think @danijoo |
Something like that should do it:
Allows customization and we still can use it with default values w/o additional work. An alternative approach that would allow multiple servers could be:
Allows to run with the default server or explicitly adding multiple custom servers with Also, if someone has a redis implementation of |
Hello danijoo, Many thanks, I will try your suggestions Best regards, |
Feel free to make a push request if you have something nice :) Im sure luisbatista [email protected] schrieb am Fr., 18. Nov. 2016 um
|
Hello,
Is possible change the memcached url address?
Something like this:
$Api->setCacheUrlAddress("http://new.endpoint.com")->setCacheUrlPort("11211")
?(I need to use a 'memcached' outside of my server).
Can tell me how?
Best regards,
LB
The text was updated successfully, but these errors were encountered: