This project is not covered by Drupal’s security advisory policy.
Cache External Files module allows you to cache external files (like Javascript, CSS or any other) locally and then use these local copies. The local copies are refreshed by cron run - every file has expiration timeout that is checked and the file if refreshed if expired. CSS files are additionally parsed for 'url()' includes and any relative images are also cached locally along with .css file (so the path used in url() is still working fine).
Except JS and CSS files, you can use this module to sync some files (documents, images, etc) from centralized location (files should be available via http or https) - this way you will always have fresh copy of a file managed in central location.
Performance
It allows to have external files locally and use drupal_add_js and drupal_add_css to add local copies to your pages. Then these files can be aggregated and served as one single file along with all the other Javascript and CSS files.
Another consideration might be that if your site is really hitting the load then the provider of external files might not be able to serve the files as fast as you need them causing the users' browsers to load your pages longer (the use-case for this are different advertisements you put on the site).
Module development (Drupal 6 version) was sponsored by KM.RU.
Drupal 7 version was created by Martin Martinov (mmartinov).
Project information
15 sites report using this module
- Created by duozersk on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


