Cache menus by login. Commit ready for merge.

- Legacy-Id: 19831
This commit is contained in:
Robert Sparks 2022-01-11 16:03:52 +00:00
parent 5bf0638c55
commit 69d52465a7

View file

@ -1,6 +1,7 @@
{# Copyright The IETF Trust 2015-2019, All Rights Reserved #}{% load origin %}{% origin %}
{% load ietf_filters managed_groups wg_menu active_groups_menu group_filters %}
{% load ietf_filters managed_groups wg_menu active_groups_menu group_filters cache %}
{% cache 600 menus request.user.username %}{% got_touched %}
{% if flavor != "top" %}
{% include "base/menu_user.html" %}
{% endif %}
@ -164,3 +165,4 @@
{% if flavor == "top" %}
{% include "base/menu_user.html" %}
{% endif %}
{% endcache %}