{% extends 'squid/cache/index.html' %} {% block toolbar_disk %}class="active"{%endblock%} {% block page_comment %}{% endblock %} {% block page_content %}

WARNING: you are going to delete and reset the cache folder {{disk_cache.cache_dir}}. This is irreversible operation and cannot be undone!

Please type I confirm in the field below and click the Erase Cache Dir button. After that the following sequence of events will occur:

  1. Squid proxy will be stopped, HTTP(S) access to the Internet will be interrupted for all proxy users.
  2. Disk cache will be enabled.
  3. Cache structure on disk will be regenerated by running squid -z.
  4. Squid proxy will be started.

On existing large caches re-initialize may take a lot of time and browser will timeout. In this case it is recommended to remove the cache dir from root console by stopping Squid manually and then running rm -Rf {{disk_cache.cache_dir}}. Once removal finishes, re-initialize the cache dir using this page.

{% block member_heading%}{%endblock%} {% if form.non_field_errors %}

FATAL ERROR!

It is recommended to remove the cache dir from root console by stopping Squid manually and then running rm -Rf {{disk_cache.cache_dir}}. Once removal finishes, re-initialize the cache dir using this page. In case it fails again, contact support@diladele.com.

{% for error in form.non_field_errors %}
{{ error|escape }}
{% endfor %}
{% endif %}
{% csrf_token %}
{{form.confirm}} {% if form.confirm.errors %} {{form.confirm.errors|striptags}} {% else %} Type I confirm to erase and reinitialize Squid cache directory. {%endif%}
{% endblock %}