goodeggs / angular-cached-resource

An AngularJS module to interact with RESTful resources, even when browser is offline
MIT License
216 stars 29 forks source link

Get always a fresh data and get in fallback the cached data #86

Open jean-alain-re opened 8 years ago

jean-alain-re commented 8 years ago

Hi,

Thanks forr the library. I played a few with him and I saw that the library returns first the data from the cache and refresh then the data in the cache.

Can you have the inverse behaviour? Return the data from the server, and if there isn't no connections, return in fallback the data in the cache ?