phone.sh: added local cache usage when offline