21 lines
698 B
HTML
21 lines
698 B
HTML
{% extends "admin/base_site.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block breadcrumbs %}{% if not is_popup %}
|
|
<div class="breadcrumbs">
|
|
<a href="/admin/">{% trans "Home" %}</a> ›
|
|
{% trans "Cache Stats" %}
|
|
</div>
|
|
{% endif %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<p>[<a href="{% url keyedcache_view %}">View Cache</a>] [<a href="{% url keyedcache_delete %}">Delete from Cache</a>]
|
|
<h1>Cache Stats</h1>
|
|
<p>Backend: {{ cache_backend }} ({% if cache_running %}running{% else %}down{% endif %})</p>
|
|
<p>Timeout: {{ cache_time }}</p>
|
|
<p>Keys in cache: {{ cache_count }}</p>
|
|
<p>Cache Calls: {{ cache_calls }}</p>
|
|
<p>Cache Hits: {{ cache_hits }}</p>
|
|
<p>Cache Hit Rate: {{ hit_rate }}%</p>
|
|
{% endblock %}
|