the bola v2 website
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

stache.php 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | File Watcher
  6. |--------------------------------------------------------------------------
  7. |
  8. | File changes will be noticed and data will be updated accordingly.
  9. | This can be disabled to reduce overhead, but you will need to
  10. | either update the cache manually or use the Control Panel.
  11. |
  12. */
  13. 'watcher' => env('STATAMIC_STACHE_WATCHER', true),
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Stores
  17. |--------------------------------------------------------------------------
  18. |
  19. | Here you may configure the stores that are used inside the Stache.
  20. |
  21. | https://statamic.dev/stache#stores
  22. |
  23. */
  24. 'stores' => [
  25. //
  26. ],
  27. /*
  28. |--------------------------------------------------------------------------
  29. | Indexes
  30. |--------------------------------------------------------------------------
  31. |
  32. | Here you may define any additional indexes that will be inherited
  33. | by each store in the Stache. You may also define indexes on a
  34. | per-store level by adding an "indexes" key to its config.
  35. |
  36. */
  37. 'indexes' => [
  38. //
  39. ],
  40. /*
  41. |--------------------------------------------------------------------------
  42. | Locking
  43. |--------------------------------------------------------------------------
  44. |
  45. | In order to prevent concurrent requests from updating the Stache at
  46. | the same and wasting resources, it will be "locked" so subsequent
  47. | requests will have to wait until the first has been completed.
  48. |
  49. | https://statamic.dev/stache#locks
  50. |
  51. */
  52. 'lock' => [
  53. 'enabled' => true,
  54. 'timeout' => 30,
  55. ],
  56. ];