Simple entity caching for the recent drafts view. Commit ready for merge.

- Legacy-Id: 19480
This commit is contained in:
Robert Sparks 2021-10-27 20:19:00 +00:00
parent 3a553c4863
commit c0cbb79bf9

View file

@ -1,6 +1,7 @@
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static %}
{% load cache %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
@ -9,6 +10,7 @@
{% block title %}Internet-Drafts submitted during the last {{days|default:7}} days{% endblock %}
{% block content %}
{% cache 1800 recentdrafts days using="slowpages" %}
{% origin %}
<h1>
Internet-Drafts submitted during the last {{days|default:7}} days
@ -18,7 +20,7 @@
</h1>
{% include "doc/search/search_results.html" %}
{% endcache %}
{% endblock %}
{% block js %}