From 1eb1e0c24273f6e781b45437406f1e381e3fb61d Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Mon, 5 Aug 2019 17:24:56 +0000 Subject: [PATCH] Added 30 minutes caching to agenda.ics - Legacy-Id: 16624 --- ietf/templates/meeting/agenda.ics | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ietf/templates/meeting/agenda.ics b/ietf/templates/meeting/agenda.ics index 9ae296353..771c83d21 100644 --- a/ietf/templates/meeting/agenda.ics +++ b/ietf/templates/meeting/agenda.ics @@ -1,4 +1,4 @@ -{% load humanize %}{% autoescape off %}{% load ietf_filters %}BEGIN:VCALENDAR +{% load humanize %}{% autoescape off %}{% load ietf_filters %}{% load cache %}{% cache 1800 ietf_meeting_agenda_ics schedule.meeting.number request.path %}BEGIN:VCALENDAR VERSION:2.0 METHOD:PUBLISH PRODID:-//IETF//datatracker.ietf.org ical agenda//EN @@ -18,4 +18,4 @@ DESCRIPTION:{{item.timeslot.name|ics_esc}}\n{% if item.session.agenda_note %} ({{material.title|ics_esc}}){% endif %}: {{material.gref}}\n{% endfor %} {% endif %}END:VEVENT -{% endif %}{% endfor %}END:VCALENDAR{% endautoescape %} +{% endif %}{% endfor %}END:VCALENDAR{% endcache %}{% endautoescape %}