This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Jekyll.
Summary
Sets if caching to disk in non-safe mode should be disabled.
--disable-disk-cache
Disable caching of content to disk in order to skip creating a `.jekyll-cache` or similar
directory at the source to avoid interference with virtual environments and third-party
directory watchers. Caching to disk is always disabled in safe mode.
- Assembly
- Cake
.Jekyll .dll - Namespace
- Cake
.Jekyll .Commands .Clean - Containing Type
- Jekyll
Clean Settings Extensions
Syntax
public static JekyllCleanSettings DisableDiskCache(this JekyllCleanSettings settings, bool disable = true)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | JekyllCleanSettings | The settings. |
| disable | bool | to disable caching to disk in non-safe mode, otherwise . |
Return Value
| Type | Description |
|---|---|
| JekyllCleanSettings | The settings instance with the DisableDiskCache property updated with the value provided in disable. |
