def get_short_url(self, url): return self.rc.hget(S1.cache_url_key(), url)
def cache_short_url(self, url, short_url): return self.rc.hset(S1.cache_url_key(), url, short_url)
def get_short_url(self, url): return self.rc.hget(S1.cache_url_key(), url)
def cache_short_url(self, url, short_url): return self.rc.hset(S1.cache_url_key(), url, short_url)