feat: implement full bff logic
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user