def METHOD_NAME():
    """Provide a JS file with global definitions (all users).
    Useful for server-wide config options, URLs, etc...
    """
    cache_file = os.path.join(config.CACHE_DIR, f'assets_global_{indico.__version__}_{config.hash}.js')
    if config.DEBUG or not os.path.exists(cache_file):
        data = generate_global_file()
        with open(cache_file, 'w') as f:
            f.write(data)
    return send_file('global.js', cache_file, mimetype='application/javascript', conditional=True)