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

Webコンテンツテンプレートで取得した動的なコンテンツは、更新後も同じ状態を維持する

written-by

Emma Liu

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

問題

  • ユーザーは、Webコンテンツテンプレートを使って、データベースから動的なコンテンツを取得します。 データベースのデータがすでに変更されていても、ページに表示される値は同じままです。

環境

  • Liferay DXP 7.0、Liferay DXP 7.1

解決策

  • ウェブコンテンツのテンプレート編集画面で、「キャッシュ可能」のチェックをはずす。

cacheable.png

did-this-article-resolve-your-issue

legacy-knowledge-base