Skip to content

Commit bbc5386

Browse files
committed
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 c0cbb79
2 parents 8a1e84c + c0cbb79 commit bbc5386

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/templates/doc/recent_drafts.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{% extends "base.html" %}
22
{# Copyright The IETF Trust 2015, All Rights Reserved #}
33
{% load origin static %}
4+
{% load cache %}
45

56
{% block pagehead %}
67
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
@@ -9,6 +10,7 @@
910
{% block title %}Internet-Drafts submitted during the last {{days|default:7}} days{% endblock %}
1011

1112
{% block content %}
13+
{% cache 1800 recentdrafts days using="slowpages" %}
1214
{% origin %}
1315
<h1>
1416
Internet-Drafts submitted during the last {{days|default:7}} days
@@ -18,7 +20,7 @@ <h1>
1820
</h1>
1921

2022
{% include "doc/search/search_results.html" %}
21-
23+
{% endcache %}
2224
{% endblock %}
2325

2426
{% block js %}

0 commit comments

Comments
 (0)