Closed (won't fix)
Project:
Drupal core
Version:
9.2.x-dev
Component:
javascript
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Feb 2008 at 16:53 UTC
Updated:
23 Feb 2021 at 11:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
robloachDrupal_add_js() has to get external javascript support first.
Comment #2
wim leersSubscribing. This is a must for better page loading performance.
Comment #3
davidtrainer commentedThis is an important enhancement for Translatable Comments.
Comment #4
robloachMoved to the reinvention of drupal_add_js: http://drupal.org/node/251578#comment-871405
Comment #5
robloachWould be good to have SimpleTests......
Also have to figure out what to do if the file doesn't return a successful return code.
Comment #6
hass commentedFor caching external files it is *very* important to have an auto clean-up feature. Additional you need to wipe the locally cached files if the clean up button is clicked on performance page. You can find an example for the auto clean-up in the Google Analytics module... the remote and locally cached file can change and therefore it will be deleted after one day and downloaded again if requested first. I think this is basic functionality for this caching feature and needs to be added to the above code.
Comment #7
xjmTracking.
Comment #8
wim leersCleaning up the issue queue.
Comment #9
vasrush commentedHope that this will help other D6 users
http://drupal.org/project/cache_external_files
Comment #10
philbar commentedDid #5 and #6 get addressed?
Comment #11
nod_I'm worried this will introduce a lot of problems. Hopefully when JS processing will be pluggable it'll be easy to add for contrib.
Comment #12
nod_Let's not deal with cache invalidation of remote scripts in core for D8.
Comment #13
catchI have a 6.x module that does this: https://www.drupal.org/project/asset_cache
We could add this in a minor version if we wanted to.
Comment #14
yesct commentedmaking tag the more common one so we can delete the lesser used one so it does not show in the autocomplete
Comment #15
nod_Comment #26
nod_I don't think this is core job, also these days people don't expect their CMS to handle that type of assets like this (also the excessive amount of tracking would make cache management a nightmare).