Class PhysicalFileSystemCacheOptions
Configuration options for the PhysicalFileSystemCache.
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Caching
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public class PhysicalFileSystemCacheOptions
Properties
| Edit this page View SourceCacheFolder
Gets or sets the cache folder name.
Declaration
public string CacheFolder { get; set; }
Property Value
Type | Description |
---|---|
string |
CacheFolderDepth
Gets or sets the depth of the nested cache folders structure to store the images. Defaults to 8.
Declaration
public uint CacheFolderDepth { get; set; }
Property Value
Type | Description |
---|---|
uint |
CacheRootPath
Gets or sets the optional cache root folder path.
This value can be null, a fully qualified absolute path, or a path relative to the directory that contains the application content files.
If not set, this will default to the directory that contains the web-servable application content files; commonly 'wwwroot'.
Declaration
public string? CacheRootPath { get; set; }
Property Value
Type | Description |
---|---|
string |