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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 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