Commit 6e1ee5b0 authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Fix cache keys and cache position form

parent 24f83ba8
......@@ -49,7 +49,7 @@
{% block sidebar %}
{% include '_base_intro.html' %}
<hr class="hidden-xs"/>
{% cache 3600 LANGUAGE_CODE %} {# 1 hour #}
{% cache 3600 search_form LANGUAGE_CODE %}
{% include '_base_search.html' %}
{% endcache %}
<hr class="hidden-xs"/>
......@@ -63,7 +63,9 @@
{% endblock %}
</div>
{% include '_position_form_modal.html' %}
{% cache 3600 position_form LANGUAGE_CODE %}
{% include '_position_form_modal.html' %}
{% endcache %}
<div class="col-sm-9 col-sm-offset-3 {% block container-class %}{% endblock %}">
{% block content %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment