Offline refresh

Refresh when not connected to the internet will now use latest cached version.