Keycloak 17 --cache=local build option persistence

Does specifying the build option --cache=local mean only caching locally and not cluster-wide, or will caches be disabled entirely? Do the sessions then exist only in-memory or will they persisted to the filesystem anywhere? For reference: Keycloak - Server - All configuration

I’m asking because I have a single node Keycloak deployment and want to preserve session caches across server restarts.

Are there any options preserving sessions while restarting with a single node keycloak setup?

Or can Infinispan cache persistence be used?