Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Added dist file to setup FileSystemCache locally, using the data/ fol…
Browse files Browse the repository at this point in the history
…der.
  • Loading branch information
rkeet committed Oct 15, 2018
1 parent 913bc5a commit 4b9f905
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions config/cache.config.php.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

namespace Keet\Country;

return [
'caches' => [
'FilesystemCache' => [
'adapter' => [
'name' => Filesystem::class,
'options' => [
// Store cached data in this directory.
'cache_dir' => './data/cache',
// Store cached data for 1 hour.
'ttl' => 60*60*1
],
],
'plugins' => [
[
'name' => 'serializer',
'options' => [
],
],
],
],
],
];

0 comments on commit 4b9f905

Please sign in to comment.