read cache.json and shorturls.json; use cache files if possible; implement get on this device