templates/web/customer/footer/parts/css_aggregation.twig line 1

Open in your IDE?
  1. {##
  2.  # Footer part part
  3.  #
  4.  # @ListChild (list="footer", weight="100")
  5.  #}
  6. {% if this.doCSSAggregation() and this.doCSSOptimization() %}
  7.   {% for file in this.getAggregateCSSResources() %}
  8.     {% if this.isResourceSuitableForOptimization(file) %}
  9.     <script>
  10.       var xhr = new XMLHttpRequest();
  11.       xhr.open('GET', '{{ this.getResourceURL(file.url, file) }}');
  12.       xhr.send('');
  13.     </script>
  14.     {% endif %}
  15.   {% endfor %}
  16. {% endif %}