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

Query caching #4

Closed
jmdobry opened this issue Jan 6, 2014 · 1 comment
Closed

Query caching #4

jmdobry opened this issue Jan 6, 2014 · 1 comment
Assignees
Milestone

Comments

@jmdobry
Copy link
Member

jmdobry commented Jan 6, 2014

By default angular-data remembers each query that has been made. For example:

DS.findAll('document', { query: { limit: 20 } });

When this same query is made again angular-data immediately resolves the promise with the result of DS.filter('document', { query: { limit: 20 } });

Devs should have the option of invalidating a particular query to force angular-data to run the query through the async adapter (AJAX, IndexedDB, etc).

@jmdobry
Copy link
Member Author

jmdobry commented Jan 17, 2014

Finalize in 0.6.0

@ghost ghost assigned jmdobry Jan 17, 2014
@jmdobry jmdobry closed this as completed Jan 17, 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

1 participant