{% load i18n %} {% if widget.data.cache_stats %} {% for hostname,stats in widget.data.cache_stats %}
{% trans "Memory Usage" %} {{stats.bytes|filesizeformat}}
{% trans "Keys in Cache" %} {{stats.curr_items}} of {{stats.total_items}}
{% trans "Cache Hits" %} {{stats.get_hits}} of {{stats.cmd_get}}: {{stats.hit_rate}}%
{% trans "Cache Misses" %} {{stats.get_misses}} of {{stats.cmd_get}}: {{stats.miss_rate}}%
{% trans "Cache Evictions" %} {{stats.evictions}}
{% trans "Cache Traffic" %} {{stats.bytes_read|filesizeformat}} in, {{stats.bytes_written|filesizeformat}} out
{% trans "Uptime" %} {{widget.data.uptime.value}} {{widget.data.uptime.unit}}
{% endfor %} {% else %}

{% trans "Cache Offline or Unavailable" %}

{% endif %}