Merged in [19831] from rjsparks@nostrum.com:

Cache menus by login.
 - Legacy-Id: 19844
Note: SVN reference [19831] has been migrated to Git commit 69d52465a7
This commit is contained in:
Robert Sparks 2022-01-14 17:58:36 +00:00
commit 729b212bd6

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 %}