add url cache for url_code