{% extends "jury/base.html.twig" %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Refresh cache - {{ parent() }}{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.table_extrahead() }} {% endblock %} {% block content %}

Refresh cache

{% if doRefresh %} {{ macros.progress_bar() }} {% else %}
Significant database impact

Refreshing the scoreboard cache can have a significant impact on the database load, and is not necessary in normal operating circumstances.

Refresh scoreboard cache for {% if current_contest is not empty %} {{ current_contest.name }} {% else %} all active contests {% endif %} now?

{% if current_contest is not empty %} {% endif %}
{% endif %} {% endblock %} {% block extrafooter %} {% if doRefresh %} {% set progressUrl = path('jury_refresh_cache') %} {% if current_contest is not empty %} {% set progressUrl = progressUrl ~ '?cid=' ~ current_contest.cid %} {% endif %} {{ macros.progress_loader(progressUrl) }} {% endif %} {% endblock %}