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