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 + ], + ], ]); }