mercredi 6 mars 2019

force ember store to skip cache and get data from API call

I am trying to understand how can I force ember store to make another api call instead of fetching records from cache when I use findAll. I know if records are already loaded then ember returns cached data unless asked to skip it. On doing some study (blogs, documentation and stack overflow), people has suggested to use reload: true flag with findAll but its not working for me. When I do a reload:true flag then store still returns me data from the cache.

If I am missing anything, then please help.




Aucun commentaire:

Enregistrer un commentaire