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:
commit
729b212bd6
|
@ -1,6 +1,7 @@
|
||||||
{# Copyright The IETF Trust 2015-2019, All Rights Reserved #}{% load origin %}{% origin %}
|
{# 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" %}
|
{% if flavor != "top" %}
|
||||||
{% include "base/menu_user.html" %}
|
{% include "base/menu_user.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -163,4 +164,5 @@
|
||||||
|
|
||||||
{% if flavor == "top" %}
|
{% if flavor == "top" %}
|
||||||
{% include "base/menu_user.html" %}
|
{% include "base/menu_user.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endcache %}
|
Loading…
Reference in a new issue