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

Caching #8

Closed
ramigg opened this issue Oct 27, 2010 · 3 comments
Closed

Caching #8

ramigg opened this issue Oct 27, 2010 · 3 comments

Comments

@ramigg
Copy link

ramigg commented Oct 27, 2010

Hi again,
Is there any reason that apotomo's cache method has different parameters than that of cells?

I try to pass both proc and options as it is possible in cell and it doesn't work for apotomo.


cache :cached_state, Proc.new { {:version => 0} }, :expires_in => 10.minutes
@apotonick
Copy link
Owner

This looks deprecated and there is no longer a reason why Apotomo should implement its own method. Thanks, man! I will fix that.

@apotonick
Copy link
Owner

Hey! I completely removed Apotomo::Caching for the sake of simplicity. Lemme know how you like it!

http://github.com/apotonick/apotomo/commit/423f1b1fef493bf4983befbe99c248effc5bf5f1

@ramigg
Copy link
Author

ramigg commented Oct 29, 2010

THANKS!!

I'll check how it works

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants