Replacement of google's API by bitly's one and cache of shortened URLs