Implement settings cache
This commit is contained in:
parent
411441e1a8
commit
302ef9227a
2 changed files with 7 additions and 2 deletions
|
@ -62,3 +62,6 @@ PUSHER_APP_CLUSTER=mt1
|
|||
|
||||
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
||||
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
||||
|
||||
# Settings Cache
|
||||
SETTINGS_CACHE_ENABLED=true
|
|
@ -10,6 +10,7 @@ use App\Settings\ReferralSettings;
|
|||
use App\Settings\ServerSettings;
|
||||
use App\Settings\UserSettings;
|
||||
use App\Settings\WebsiteSettings;
|
||||
use App\Settings\TicketSettings;
|
||||
|
||||
return [
|
||||
|
||||
|
@ -27,7 +28,8 @@ return [
|
|||
ReferralSettings::class,
|
||||
ServerSettings::class,
|
||||
UserSettings::class,
|
||||
WebsiteSettings::class
|
||||
WebsiteSettings::class,
|
||||
TicketSettings::class
|
||||
],
|
||||
|
||||
/*
|
||||
|
@ -75,7 +77,7 @@ return [
|
|||
'cache' => [
|
||||
'enabled' => env('SETTINGS_CACHE_ENABLED', false),
|
||||
'store' => null,
|
||||
'prefix' => null,
|
||||
'prefix' => 'setting_',
|
||||
'ttl' => null,
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue