Added code to handle if a get request fails, which will set the store into offline mode and instead return the cached item.