mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Add partial cache config
This commit is contained in:
parent
72a5a12804
commit
950fddf9e3
1 changed files with 17 additions and 0 deletions
17
config/partialcache.php
Normal file
17
config/partialcache.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
// Enable or disable partialcache alltogether
|
||||
'enabled' => true,
|
||||
|
||||
// The name of the blade directive to register
|
||||
'directive' => 'cache',
|
||||
|
||||
// The base key that used for cache items
|
||||
'key' => 'partialcache',
|
||||
|
||||
// The default cache duration in minutes, set null to remember forever
|
||||
'default_duration' => null
|
||||
|
||||
];
|
Loading…
Reference in a new issue