Skip to content
Snippets Groups Projects
Commit ab1ffa16 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Cache the primary nav per site

parent 9c698a26
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@
</div>
<section class="header__menus header__menus--desktop">
{% cache 3600 navigation__primary %}
{% cache 3600 navigation__primary request.site %}
{% primarynav %}
{% endcache %}
......@@ -50,7 +50,7 @@
</button>
</div>
</div>
{% cache 3600 navigation__primary %}
{% cache 3600 navigation__primary request.site %}
{% primarynav %}
{% endcache %}
</section>
......
......@@ -92,7 +92,7 @@
</div>
<section class="header__menus header__menus--desktop">
{% cache 3600 navigation__primary %}
{% cache 3600 navigation__primary request.site %}
{% primarynav %}
{% endcache %}
......@@ -116,7 +116,7 @@
</button>
</div>
</div>
{% cache 3600 navigation__primary %}
{% cache 3600 navigation__primary request.site %}
{% primarynav %}
{% endcache %}
</section>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment