Class: fetchStrategies

fetchStrategies

Contains out of the box Fetch Strategies which includes Cache First
and Cache If Offline fetch strategies.
The Cache First strategy always fetches
from the local cache first regardless of offline status and returns the
cached response. In addition, when online, a fetch is also made out to the server
and the serverResponseCallback (if supplied) is called with the server response.
The Cache If Offline strategy will fetch from the server when online and will
fetch from the cache if offline.