Class PhysicalFileSystemCacheOptions
- Namespace
- SixLabors.ImageSharp.Web.Caching
- Assembly
- SixLabors.ImageSharp.Web.dll
Configuration options for the PhysicalFileSystemCache.
public class PhysicalFileSystemCacheOptions
- Inheritance
-
PhysicalFileSystemCacheOptions
- Inherited Members
Properties
CacheFolder
Gets or sets the cache folder name.
public string CacheFolder { get; set; }
Property Value
CacheFolderDepth
Gets or sets the depth of the nested cache folders structure to store the images. Defaults to 8.
public uint CacheFolderDepth { get; set; }
Property Value
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'.
public string? CacheRootPath { get; set; }