Add caching around the `url_to_postid()` call.

See: https://github.com/GigaOM/gigaom/issues/5020
Um, this isn't right, is it?