Merge "Revert "Turn off angular template cache preloading when DEBUG=True""
This commit is contained in:
commit
c6d656a0b1
@ -60,13 +60,11 @@
|
||||
|
||||
{% endcompress %}
|
||||
|
||||
{% if not debug %}
|
||||
{% compress js file angular_template_cache_preloads %}
|
||||
{% cache NG_TEMPLATE_CACHE_AGE angular 'template_cache_preloads' THEME %}
|
||||
{% angular_templates %}
|
||||
{% endcache %}
|
||||
{% endcompress %}
|
||||
{% endif %}
|
||||
{% compress js file angular_template_cache_preloads %}
|
||||
{% cache NG_TEMPLATE_CACHE_AGE angular 'template_cache_preloads' THEME %}
|
||||
{% angular_templates %}
|
||||
{% endcache %}
|
||||
{% endcompress %}
|
||||
|
||||
{% comment %} Client-side Templates (These should *not* be inside the "compress" tag.) {% endcomment %}
|
||||
{% include "horizon/client_side/templates.html" %}
|
||||
|
Loading…
Reference in New Issue
Block a user