Skip to content

Commit 1b94e10

Browse files
committed
Added template fragment caching for upcoming meetings page.
- Legacy-Id: 17647
1 parent 623d25f commit 1b94e10

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ietf/templates/meeting/upcoming.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "base.html" %}
22
{# Copyright The IETF Trust 2015, All Rights Reserved #}
33
{% load origin %}
4-
4+
{% load cache %}
55
{% load ietf_filters staticfiles classname %}
66

77
{% block pagehead %}
@@ -42,6 +42,7 @@ <h1>Upcoming Meetings</h1>
4242
</div>
4343
{% endif %}
4444

45+
{% cache 600 upcoming-meetings entries.count %}
4546
{% if entries %}
4647
<table class="table table-condensed table-striped tablesorter">
4748
<thead>
@@ -86,7 +87,7 @@ <h1>Upcoming Meetings</h1>
8687
{% else %}
8788
<h3>No upcoming meetings</h3>
8889
{% endif %}
89-
90+
{% endcache %}
9091
</div>
9192
</div>
9293
<div id="calendar" class="col-md-10" ></div>

0 commit comments

Comments
 (0)