-
Notifications
You must be signed in to change notification settings - Fork 10
Description
What? Pacific co-existance (and respect) in this country? Not sure, but probably on JS land we can.
So: right now we load a LOT of JS from CDN. Its fast and most of the time reliable, except when your server runs without internet like myself, I have no internet now. But more than making this about myself, there are needs/isolated repos for local data capture, etc, where we may want to have the same CDN libraries used locally instead of remotely. So how do we do that?
Webform module does that via a very complex rewrite operation. It alters the libraries and uses CDN (via its info service manager) do download libraries but also allows CDN.
We can do this simpler probably by having a global switch and runs the library info alter in a similar fashion and uses local JS (downloaded hopefully if we are smart) via a single Drush Command. But still deliver the CDN experience by default.
Who says "I contribute my time to this?" (kidding, I know ...I know, I will plan for this...)