Skip to content

Commit

Permalink
readme mod
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Jan 6, 2019
1 parent 19cf036 commit d3daa90
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ Target plugin, the output of which will be cached.

Options for `gulp-cache` plugin.

##### `fileCache`
##### `options.fileCache`

> [Optional] Where to store the cache objects
- Defaults to `new Cache({ cacheDirName: 'gulp-cache' })`

- Create your own with [`new cache.Cache({ cacheDirName: 'custom-cache' })`](https://github.com/jgable/cache-swap)

##### `name`
##### `options.name`

> [Optional] The name of the bucket which stores the cached objects
- Defaults to `default`

##### `key`
##### `options.key`

> [Optional] What to use to determine the uniqueness of an input file for this task.
Expand All @@ -67,15 +67,15 @@ Options for `gulp-cache` plugin.

- Defaults to `file.contents` if a Buffer, or `undefined` if a Stream.

##### `success`
##### `options.success`

> [Optional] How to determine if the resulting file was successful.
- Must return a truthy value that is used to determine whether to cache the result of the task. `Promise` is supported.

- Defaults to true, so any task results will be cached.

##### `value`
##### `options.value`

> [Optional] What to store as the cached result of the task.
Expand Down

0 comments on commit d3daa90

Please sign in to comment.