From c0cbb79bf9cd4e61f3c440f043b5bc6dee78e6f3 Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Wed, 27 Oct 2021 20:19:00 +0000 Subject: [PATCH] Simple entity caching for the recent drafts view. Commit ready for merge. - Legacy-Id: 19480 --- ietf/templates/doc/recent_drafts.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ietf/templates/doc/recent_drafts.html b/ietf/templates/doc/recent_drafts.html index b22e673703..5f9aaf9c85 100644 --- a/ietf/templates/doc/recent_drafts.html +++ b/ietf/templates/doc/recent_drafts.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {# Copyright The IETF Trust 2015, All Rights Reserved #} {% load origin static %} +{% load cache %} {% block pagehead %} @@ -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 %}

Internet-Drafts submitted during the last {{days|default:7}} days @@ -18,7 +20,7 @@

{% include "doc/search/search_results.html" %} - +{% endcache %} {% endblock %} {% block js %}