improve cache system
This commit is contained in:
parent
ca0ca3b2a2
commit
1064432984
6 changed files with 39 additions and 26 deletions
|
|
@ -212,4 +212,10 @@ function processDTLProposals($page) {
|
|||
}
|
||||
|
||||
return $proposals;
|
||||
}
|
||||
|
||||
function refreshProjectStepsCache($project, $steps) {
|
||||
$apiCache = kirby()->cache('api');
|
||||
$apiCache->set($project->slug() . '_' . 'steps', $steps);
|
||||
$apiCache = kirby()->cache('api');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue