From ffd4a9000f7e46f4c51f268a2394037ed66710a2 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Fri, 2 Dec 2016 11:38:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=BE=20=D0=BA=D1=8D=D1=88=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=82=D0=B2=D0=B5=D1=82?= =?UTF-8?q?=D0=B0=20/api/options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/controllers/OptionsController.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/controllers/OptionsController.php b/api/controllers/OptionsController.php index 4c230f9..c96762a 100644 --- a/api/controllers/OptionsController.php +++ b/api/controllers/OptionsController.php @@ -1,6 +1,7 @@ [ 'except' => ['index'], ], + 'nginxCache' => [ + 'class' => NginxCache::class, + 'rules' => [ + 'index' => 3600, // 1h + ], + ], ]); }