//Directory attributes
:stories: ../../stories
:topics: ../topics
:imagesdir: ../{topics}/images

//Community doc attributes
include::../{topics}/attributes/community-attributes.adoc[]

//Community title attributes
:toc2:
:icons: font
:toclevels: 3
:numbered:
:sectanchors:
:stem: asciimath
:context: configuration

//
// Conditional statements
//
:remote_caches:
:embedded_caches:

//Title
= Configuring Infinispan caches

Create and configure Infinispan caches with the mode and capabilities that suit your application requirements.
You can configure caches with expiration to remove stale entries or use eviction to control cache size.
You can also add persistent storage to caches, enable partition handling for clustered caches, set up transactions, and more.

//User stories
include::stories.adoc[]
