replace "/build:" with "?build=" so the URLs are cache friendly
This commit is contained in:
Родитель
86e3ca9cb0
Коммит
b00ed66cda
|
@ -27,5 +27,5 @@
|
|||
|
||||
{% block js %}
|
||||
{{ js('zamboni/discovery') }}
|
||||
<script async defer src="{{ url('addons.buttons.js') }}/build:{{ BUILD_ID_JS }}"></script>
|
||||
<script async defer src="{{ url('addons.buttons.js') }}?build={{ BUILD_ID_JS }}"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
data-show-recs="{{ waffle.flag('disco-pane-show-recs')|json }}"
|
||||
{% block bodyattrs %}{% endblock %}>
|
||||
{% block content %}{% endblock %}
|
||||
<script src="{{ url('jsi18n') }}?build:{{ BUILD_ID_JS }}"></script>
|
||||
<script src="{{ url('jsi18n') }}?build={{ BUILD_ID_JS }}"></script>
|
||||
{% block js %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -103,5 +103,5 @@ data-account-url="{{ services_url('discovery.pane_account') }}"
|
|||
|
||||
{% block js %}
|
||||
{{ js('zamboni/discovery') }}
|
||||
<script async defer src="{{ url('addons.buttons.js') }}/build:{{ BUILD_ID_JS }}"></script>
|
||||
<script async defer src="{{ url('addons.buttons.js') }}?build={{ BUILD_ID_JS }}"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -141,9 +141,9 @@
|
|||
</div>
|
||||
{# js #}
|
||||
{% block site_js %}
|
||||
<script src="{{ url('jsi18n') }}/build:{{ BUILD_ID_JS }}"></script>
|
||||
<script src="{{ url('jsi18n') }}?build={{ BUILD_ID_JS }}"></script>
|
||||
{{ js('common') }}
|
||||
<script async defer src="{{ url('addons.buttons.js') }}/build:{{ BUILD_ID_JS }}"></script>
|
||||
<script async defer src="{{ url('addons.buttons.js') }}?build={{ BUILD_ID_JS }}"></script>
|
||||
{% endblock %}
|
||||
{% block js %}{% endblock %}
|
||||
{% block footer %}
|
||||
|
|
|
@ -122,9 +122,9 @@
|
|||
</div>
|
||||
{# js #}
|
||||
{% block site_js %}
|
||||
<script src="{{ url('jsi18n') }}/build:{{ BUILD_ID_JS }}"></script>
|
||||
<script src="{{ url('jsi18n') }}?build={{ BUILD_ID_JS }}"></script>
|
||||
{{ js('impala') }}
|
||||
<script async defer src="{{ url('addons.buttons.js') }}/build:{{ BUILD_ID_JS }}"></script>
|
||||
<script async defer src="{{ url('addons.buttons.js') }}?build={{ BUILD_ID_JS }}"></script>
|
||||
{% endblock %}
|
||||
{% block js %}{% endblock %}
|
||||
{% block footer %}
|
||||
|
|
|
@ -279,9 +279,9 @@
|
|||
</div>
|
||||
|
||||
|
||||
<script src="{{ url('jsi18n') }}/build:{{ BUILD_ID_JS }}"></script>
|
||||
<script src="{{ url('jsi18n') }}?build={{ BUILD_ID_JS }}"></script>
|
||||
{{ js('common') }}
|
||||
<script async defer src="{{ url('addons.buttons.js') }}/build:{{ BUILD_ID_JS }}"></script>
|
||||
<script async defer src="{{ url('addons.buttons.js') }}?build={{ BUILD_ID_JS }}"></script>
|
||||
<script type="text/javascript" src="{{ url('qunit_js') }}"></script>
|
||||
<script type="text/javascript" src="{{ MEDIA_URL }}js/lib/jquery.mockjax.js"></script>
|
||||
{% for url in suite.extra_urls %}
|
||||
|
|
Загрузка…
Ссылка в новой задаче