<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://www.ehcache.org/v3">

    <cache-template name="simple">
        <expiry>
            <ttl unit="seconds">3600</ttl>
        </expiry>
        <heap>100</heap>
    </cache-template>

    <cache alias="org.terracotta.demo.domain.User" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.Authority" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.User.authorities" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.PersistentToken" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.User.persistentTokens" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.PersistentAuditEvent" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.Actor" uses-template="simple"/>

    <cache alias="weatherReports" uses-template="simple"/>

</config>

<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://www.ehcache.org/v3">

    <cache-template name="simple">
        <expiry>
            <ttl unit="seconds">60</ttl>
        </expiry>
        <heap>100</heap>
    </cache-template>

    <cache alias="org.terracotta.demo.domain.User" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.Authority" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.User.authorities" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.PersistentToken" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.User.persistentTokens" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.PersistentAuditEvent" uses-template="simple"/>

    <cache alias="org.terracotta.demo.domain.Actor" uses-template="simple"/>

    <cache alias="weatherReports" uses-template="simple"/>

</config>

Put lower ttl to be able to reuse entries during demos
Put lower ttl to be able to reuse entries during demos
