legacy-knowledge-base
公開されました Jul. 2, 2025

javascript.fast.load=true は、すべての JS ファイルを 1 つの JS ファイルにバンドルしません。

written-by

Anna Zombori-Suszter

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • javascript.fast.load プロパティが true であるにもかかわらず、多くの JS ファイル (/combo で始まる) がまだページに個別にロードされています。 注: このプロパティはデフォルトで true です。
  • したがって、多くの /combo リクエストが依然としてサーバーに送信されます。

Environment

  • Liferay DXP 7.0+

解決策

  • デフォルトでは、Liferay は送信されるリソースをまとめてバンドルします。 リソースがテーマ、JavaScript、または多くのロケールで使用される場合など、追加のリソースが多数ある状況では、それらのリソースを個別に処理してそれらを集約する必要があります。
  • 現在、説明されている動作が期待されていますが、各ページ要求でロードされるファイルをより細かく制御できる機能要求が開かれています: LPS-107502

did-this-article-resolve-your-issue

legacy-knowledge-base