Merged in [19480] from rjsparks@nostrum.com:

Simple entity caching for the recent drafts view.
 - Legacy-Id: 19517
Note: SVN reference [19480] has been migrated to Git commit c0cbb79bf9
This commit is contained in:
Robert Sparks 2021-11-01 18:50:28 +00:00
commit bbc538663c

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 %}