-
Notifications
You must be signed in to change notification settings - Fork 245
Expand file tree
/
Copy pathetag.php
More file actions
47 lines (43 loc) · 1.63 KB
/
Copy pathetag.php
File metadata and controls
47 lines (43 loc) · 1.63 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
return [
/*
|--------------------------------------------------------------------------
| Enable or Disable ETag Logging
|--------------------------------------------------------------------------
|
| This option allows you to enable or disable the ETag change logging
| feature.
|
*/
'enabled' => env('ETAG_ENABLED', true),
/*
|--------------------------------------------------------------------------
| Log Dynamic Endpoints
|--------------------------------------------------------------------------
|
| Enable or disable logging when an endpoint is detected as dynamic.
| If set to false, no logs will be recorded for dynamic endpoints.
|
*/
'log_dynamic_endpoints' => env('ETAG_LOG_DYNAMIC_ENDPOINTS', false),
/*
|--------------------------------------------------------------------------
| ETag History Limit
|--------------------------------------------------------------------------
|
| The maximum number of ETags to track per endpoint. If the number of
| unique ETags exceeds this limit, the oldest ETag will be removed.
|
*/
'history_limit' => env('ETAG_HISTORY_LIMIT', 10),
/*
|--------------------------------------------------------------------------
| History Cache Expiration Time
|--------------------------------------------------------------------------
|
| The duration (in minutes) for which the ETag history should be stored
| in the cache. Adjust this based on your caching strategy.
|
*/
'history_cache_expiration' => env('ETAG_HISTORY_CACHE_EXPIRATION_MINUTES', 30),
];