Enable cache

This commit is contained in:
2019-08-25 17:10:16 +02:00
parent bedb05c13e
commit dc289877f1
6 changed files with 44 additions and 11 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env php
<?php
require dirname(__DIR__) . '/public/bootstrap.php';
// manually set the cache prefix
$kirby = $kirby->clone([
'options' => [
'cache' => [
'pages' => [
'active' => true,
'prefix' => 'lukasbestle.com'
]
]
]
]);
$kirby->cache('pages')->flush();