-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcache.php
More file actions
29 lines (25 loc) · 615 Bytes
/
cache.php
File metadata and controls
29 lines (25 loc) · 615 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
declare(strict_types=1);
return [
'ttl_default' => 3600,
'ttl' => [
// App\Models\Page::class => 86400,
// App\Models\News::class => 3600,
// App\Services\Custom::class => 1800,
//
// 'stdClass' => 600,
//
// 'foo' => 300,
// 'bar' => 600,
],
'enabled' => [
// App\Models\Page::class => true,
// App\Models\News::class => true,
// App\Services\Custom::class => true,
//
// 'stdClass' => false,
//
// 'foo' => false,
// 'bar' => false,
],
];