Files

17 lines
648 B
YAML

framework:
cache:
app: cache.adapter.filesystem
pools:
# Backs App\Session\BffSessionStore. Filesystem is fine for a
# single instance under low/moderate traffic — safe across
# concurrent PHP-FPM workers, no extra service to run.
#
# If you ever scale to multiple BFF instances/containers,
# switch adapter to cache.adapter.redis and add:
# provider: '%env(REDIS_DSN)%'
# No code changes needed elsewhere.
bff.session_cache:
adapter: cache.adapter.filesystem
default_lifetime: 3600