Use chache for offline mode.