--cache-changelog-file-contents

Last updated: April 30, 2026

If true, sqlFile Change Type contents are cached in memory to improve performance, at the cost of higher memory usage. Default: true.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Command CLI parameter

--cache-changelog-file-contents=<true|false>

Liquibase properties file (defaults file)

liquibase.command.checks.<subcommand>.cacheChangelogFileContents: <true|false>

Command flow file argument (example)

cmdArgs: { cache-changelog-file-contents: "<true|false>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.command.checks.<subcommand>.cacheChangelogFileContents=<true|false>

Liquibase environment variable

LIQUIBASE_COMMAND_CHECKS_<SUBCOMMAND>_CACHE_CHANGELOG_FILE_CONTENTS=<true|false>