legacy-knowledge-base
公開されました Sep. 10, 2025

Glowrootのモニタリングで存在する*.map urlsは何ですか?

written-by

Anishq Sharma

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

問題

  • Glowrootやその他のアプリケーション監視ツールを使ってLiferayを監視していると、多くの*.map urlsが存在します。

Environment

  • Liferay DXP 7.0 +

解決策

  • .map ファイルは、minifyされたJavaScriptとCSS(現在はTypeScriptも)ファイル用です。 これらは、 ソースマップと呼ばれています。 angular.js ファイルのように、ユーザーがファイルをミニ化すると、何千行ものきれいなコードが、数行の醜いコードにしかなりません。
  • アプリが本番でエラーになったとき、ソースマップは醜いファイルを取り除くのに役立ち、ユーザーはコードの元のバージョンを見ることができます。 もし、ユーザーがソースマップを持っていなかったら、どんなエラーも不可解なものにしか見えないでしょう。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base