123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?php
-
- return [
-
- /*
- |--------------------------------------------------------------------------
- | File Watcher
- |--------------------------------------------------------------------------
- |
- | File changes will be noticed and data will be updated accordingly.
- | This can be disabled to reduce overhead, but you will need to
- | either update the cache manually or use the Control Panel.
- |
- */
-
- 'watcher' => env('STATAMIC_STACHE_WATCHER', true),
-
- /*
- |--------------------------------------------------------------------------
- | Stores
- |--------------------------------------------------------------------------
- |
- | Here you may configure the stores that are used inside the Stache.
- |
- | https://statamic.dev/stache#stores
- |
- */
-
- 'stores' => [
- //
- ],
-
- /*
- |--------------------------------------------------------------------------
- | Indexes
- |--------------------------------------------------------------------------
- |
- | Here you may define any additional indexes that will be inherited
- | by each store in the Stache. You may also define indexes on a
- | per-store level by adding an "indexes" key to its config.
- |
- */
-
- 'indexes' => [
- //
- ],
-
- /*
- |--------------------------------------------------------------------------
- | Locking
- |--------------------------------------------------------------------------
- |
- | In order to prevent concurrent requests from updating the Stache at
- | the same and wasting resources, it will be "locked" so subsequent
- | requests will have to wait until the first has been completed.
- |
- | https://statamic.dev/stache#locks
- |
- */
-
- 'lock' => [
- 'enabled' => true,
- 'timeout' => 30,
- ],
-
- ];
|