プロジェクト

全般

プロフィール

Vote #71007

未完了

Javascript repository cache , e.g. jquery

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Plugin API_20
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
20
version_id:
0
issue_org_id:
9710
author_id:
16321
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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.

https://www.chiliproject.org/issues/725


journals

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.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
related to Feature #11425 JavaScript library handler for theming and plugins
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリPlugin API_20 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0