Skip to content

Drupal: Local Copies of External#160;JS

Ich binde nur ungern externe JavaScripte in Seiten ein. Daher habe ich diesen Tip von Mastering Drupal mit Interesse gelesen.

Often you need to load external JavaScript resources into a Drupal page. Unfortunately those can be from external servers that are slow. Even if the servers are fast, it is great to be able to take advantage of Drupal’s JavaScript aggregation to make it a single HTTP request for the JavaScript file instead of multiple. The attached starter module is useful to create a local copy of external JavaScript files.

Den Code gibt es hier.

Possibly related posts (automatically generated)

0
sfy39587p00