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

Enable cache when one of the options is in place #74

Open
10xSebastian opened this issue Apr 25, 2017 · 0 comments
Open

Enable cache when one of the options is in place #74

10xSebastian opened this issue Apr 25, 2017 · 0 comments

Comments

@10xSebastian
Copy link
Contributor

 endpoint ':datastore/v2/feedbacks/:id', cache: true, cache_expires_in: 1.day

@eduardschaeli wrote: Why set "cache: true" when setting a cache expiration kinda implies that you're using a cache? Couldn't you get rid of the "cache: true" param?

Moved from https://github.com/local-ch/lhc-core-interceptors/issues/13

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

1 participant