github.com/Jeffail/benthos/v3@v3.65.0/website/docs/components/caches/file.md (about) 1 --- 2 title: file 3 type: cache 4 status: stable 5 --- 6 7 <!-- 8 THIS FILE IS AUTOGENERATED! 9 10 To make changes please edit the contents of: 11 lib/cache/file.go 12 --> 13 14 import Tabs from '@theme/Tabs'; 15 import TabItem from '@theme/TabItem'; 16 17 18 Stores each item in a directory as a file, where an item ID is the path relative 19 to the configured directory. 20 21 ```yaml 22 # Config fields, showing default values 23 label: "" 24 file: 25 directory: "" 26 ``` 27 28 This type currently offers no form of item expiry or garbage collection, and is 29 intended to be used for development and debugging purposes only. 30 31 ## Fields 32 33 ### `directory` 34 35 The directory within which to store items. 36 37 38 Type: `string` 39 Default: `""` 40 41