{% extends "ui/_layout.html" %} {% from "ui/_table_macros.html" import sort_header, pagination_inline, filter_form with context %} {% block title %}Misses - withcache{% endblock %} {% block subnav %} {% endblock %} {% block intro %}
URLs that clients requested but withcache doesn't have downloaded. Useful for the "what's suddenly popular?" question: if a URL keeps showing up here, it's probably worth adding to the catalog. Per-row Fetch promotes the URL to a first-class catalog entry AND enqueues its download; Dismiss removes the recorded miss when the operator doesn't want it in the catalog.
{% endblock %} {% block content %}
Recorded misses {{ filter_form(q, sort, page, per_page_choices, 'misses-q', placeholder='Filter (URL substring)') }} {{ pagination_inline(page, preserved, label='misses') }}
{{ sort_header('URL', 'url', sort, preserved) }} {{ sort_header('Count', 'count', sort, preserved, 'class="text-end" style="width: 1%; white-space: nowrap;"') }} {{ sort_header('First seen', 'first_seen', sort, preserved, 'style="width: 1%; white-space: nowrap;"') }} {{ sort_header('Last seen', 'last_seen', sort, preserved, 'style="width: 1%; white-space: nowrap;"') }} {% for r in rows %} {% endfor %} {% if not rows %} {% endif %}
Action
{{ r['url'] }} {{ r['count'] }} {{ r['first_seen'] }} {{ r['last_seen'] }}
{% if q %} No misses match {{ q }}. {% else %} No recorded misses yet. {% endif %}
{% endblock %}