For every widget the WirecloudAPIBootstrap.js file is requested. For every operator the WirecloudOperatorAPI.js file is requested. Both files are not compressed although DEBUG = False is set in the settings.py.
It would be great if those files would also get compressed by the django-compressor.
It would be even greater when those files would get requested only once for the whole dashboard.
And to top it all off: It would be perfect if there is a possibility of sharing JS-Scripte in between widgets / operators. For example jQuery is probably used in most widgets.
So I have a dream that one day a wirecloud admin is able to specify a folder on the wirecloud host system that contains JavaScript files that get compressed and are shared among all widgets and operators.
For every widget the
WirecloudAPIBootstrap.jsfile is requested. For every operator theWirecloudOperatorAPI.jsfile is requested. Both files are not compressed althoughDEBUG = Falseis set in thesettings.py.It would be great if those files would also get compressed by the
django-compressor.It would be even greater when those files would get requested only once for the whole dashboard.
And to top it all off: It would be perfect if there is a possibility of sharing JS-Scripte in between widgets / operators. For example jQuery is probably used in most widgets.
So I have a dream that one day a wirecloud admin is able to specify a folder on the wirecloud host system that contains JavaScript files that get compressed and are shared among all widgets and operators.