Skip to content
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

Support for caching #166

Closed
bauerpl opened this issue May 7, 2013 · 5 comments
Closed

Support for caching #166

bauerpl opened this issue May 7, 2013 · 5 comments

Comments

@bauerpl
Copy link

bauerpl commented May 7, 2013

Hi,

Great gem, thank you for your work. Do you have any idea how to support caching (I'm using Padrino btw.)? Would be fantastic to use both features.

@phoet
Copy link
Contributor

phoet commented May 7, 2013

you could use the AB testing token in your cache-key

@bauerpl
Copy link
Author

bauerpl commented May 14, 2013

@phoet - testing token, you mean by (in my controller):

alternative = ab_test("my_test_name")

It doesn't work for me, I've got an error:

#<SocketError: getaddrinfo: nodename nor servname provided, or not known>

Anyway thanks for for pointing me on the right path. I also found https://github.com/andrew/split/wiki/Caching so I hope I will solve it.

@phoet
Copy link
Contributor

phoet commented May 14, 2013

you have not properly configered your redis connection i guess

@phoet
Copy link
Contributor

phoet commented May 30, 2013

@bauerpl did you get it working? i think that we can close this issue, as this is not in the scope of split.

@andrew
Copy link
Member

andrew commented Oct 22, 2014

I'm closing out some of these old issues, if this is still a problem for you please comment and I'll reopen it.

@andrew andrew closed this as completed Oct 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants