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

Add cache behaviours to models #286

Open
ilyavf opened this issue Feb 16, 2017 · 4 comments
Open

Add cache behaviours to models #286

ilyavf opened this issue Feb 16, 2017 · 4 comments

Comments

@ilyavf
Copy link
Contributor

ilyavf commented Feb 16, 2017

We are using a custom set of behaviors (not the SuperMap). Add these two for caching:

  • can-connect/data/memory-cache/memory-cache
  • can-connect/fall-through-cache/fall-through-cache
@justinbmeyer
Copy link
Contributor

Do we need this?

@justinbmeyer
Copy link
Contributor

I think what's really needed is a caching mechanism that is able to operate on the list and instance stores.

@ilyavf
Copy link
Contributor Author

ilyavf commented Feb 16, 2017

There are two components that retrieve contribution month list - month-selection and payouts:

421["api/contribution_months::find",{"$sort":{"date":1}}]
424["api/contribution_months::find",{}]

@ilyavf
Copy link
Contributor Author

ilyavf commented Feb 16, 2017

I think what's really needed is a caching mechanism that is able to operate on the list and instance stores.

Oh, you mean that memory-cache has its own store? (compared to connection's listStore)

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