{% extends "base.html" %} {% block title %}Response Cache - AISBF Dashboard{% endblock %} {% block content %}

Response Cache Management

📊 Analytics 💾 Response Cache ⏱️ Rate Limits
{% if is_admin %}

Global Cache Statistics

{% else %}

Your Personal Cache Impact

These statistics show how the response cache has benefited your requests personally.

{% endif %}
Status
{% if stats.enabled %}Enabled{% else %}Disabled{% endif %}
{% if is_admin %}
Backend
{{ stats.backend|upper }}
{% endif %}
{% if is_admin %}Cache Hits{% else %}Your Cache Hits{% endif %}
{{ stats.hits }}
{% if is_admin %}Cache Misses{% else %}Your Cache Misses{% endif %}
{{ stats.misses }}
{% if is_admin %}Hit Rate{% else %}Your Hit Rate{% endif %}
{{ "%.1f"|format(stats.hit_rate * 100) }}%
{% if is_admin %}
Cache Size
{{ stats.size }}
Evictions
{{ stats.evictions }}
{% else %}
Total Requests
{{ stats.total_requests }}
{% endif %}
{% if is_admin %}

Cache Actions

{% endif %} {% if stats.error %}
Error: {{ stats.error }}
{% endif %}

About Response Cache

The response cache stores API responses to reduce redundant requests and improve performance. When enabled, identical requests will be served from cache instead of making new API calls.

{% endblock %}