Feature #9710
openJavascript repository cache , e.g. jquery
0%
Description
There is a feature we would really like to see. More and more plugins use js libs, which make it happen that one site can have same lib loaded several times, in worst case with different versions.
Every js asset shall be registered in redmine repo cache and not get build into site and loaded by client again if already registered. This way e.g only one version and one instance of jquery (ui) would be loaded.
There is already an issue in chili, which esepcially hanlde this problem for jquery and prototype.
This js repo cahce will decrease loading time and reduce comptibility issues in redmine a lot and make plugin usage more stable.
Compatibility check for jQuery and Prototype availability is already done in chiliproject.
Updated by Jean-Philippe Lang almost 13 years ago
This solution does not solve your problem. It lets plugins know if the core uses jquery but won't prevent 2 plugins from loading the same lib twice.
Updated by Jean-Philippe Lang almost 13 years ago
- Category changed from Code cleanup/refactoring to Plugin API
Updated by Terence Mill almost 13 years ago
Of course, not. Its just soem code to start.
The issue describes the complete thing what is needful.
I already run in this problems doing eye candy for redmine with jquery, js ext, prototype. Many problems with lamda expression ($) following this also.
Updated by Terence Mill over 12 years ago
related to Feature #11425 JavaScript library handler for theming and plugins