legacy-knowledge-base
公開されました Jun. 30, 2025

webp形式のファイルサイズの増加

written-by

Pablo Vidal

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

問題

  • ユーザー用に画像をレンダリングする際、ページのwebpファイルのサイズがかなり大きくなっていることに気づきました。
  • そうならないために、何かできることはないのか?

Environment

  • Liferay DXP 7.4

解決策

  • まず、.webpフォーマットはLiferayのデフォルトではサポートされていないことを理解する必要があります。
    これを使うには、このガイドに従って、ファイルが正しく生成され、扱えるように、受け入れるフォーマットの種類と適応メディアを調整する必要があります: Documents & Mediaで新しいウェブコンテンツを作成するときに、エディタで画像拡張子 .webp を追加する方法

  • この前提に基づき、ユーザーのためにページをレンダリングするときにファイルが実行するこの''最適化''は、このフォーマットを使用するときに私たちの製品に期待される動作であると理解しています。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base