From 45f290684638904bf14ecee57c95fab7172d75e6 Mon Sep 17 00:00:00 2001 From: Sergio Mendolia Date: Sat, 16 Sep 2023 22:22:09 +0200 Subject: [PATCH] Use http cache --- config/packages/framework.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index 6d85c295..11c199f8 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -4,7 +4,7 @@ framework: #csrf_protection: true http_method_override: false handle_all_throwables: true - + http_cache: true # Enables session support. Note that the session will ONLY be started if you read or write from it. # Remove or comment this section to explicitly disable session support. session: @@ -23,3 +23,6 @@ when@test: test: true session: storage_factory_id: session.storage.factory.mock_file +when@dev: + framework: + http_cache: false \ No newline at end of file