# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
    default_locale: fr
    secret: '%env(APP_SECRET)%'
    csrf_protection: true
    fragments: { path: /_fragment }

    # Note that the session will be started ONLY if you read or write from it.
    session: true

    #esi: true
    #fragments: true

    cache:
        app: cache.adapter.filesystem
        system: cache.adapter.system

when@test:
    framework:
        test: true
        session:
            storage_factory_id: session.storage.factory.mock_file
