lundi 4 avril 2016

Caching the results of a store query

Is there a way to cache the response to a query like this?

this.store.query('notes', { customer_id: some_id })

I realize the results of findAll and findRecord are cached, but that doesn't seem to be the case for query. Every time the route is loaded, the query executes and the results are fetched again.




Aucun commentaire:

Enregistrer un commentaire