Better handling for offline link shortener