def theme_config_get_cache_filename():
    """Get local cache filename, based on URL."""
    global theme_config_option
    return '%s/%s' % (theme_config_get_dir(),
                      os.path.basename(weechat.config_string(theme_config_option['scripts_url'])))