Class LegacyV1CacheKey
Maintained for compatibility purposes only this cache key implementation generates the same out as the V1 middleware. If possible, it is recommended to use the UriRelativeLowerInvariantCacheKey.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Caching
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public class LegacyV1CacheKey : ICacheKey
Methods
| Improve this Doc View SourceCreate(HttpContext, CommandCollection)
Creates the cache key based on the specified context and commands.
Declaration
public string Create(HttpContext context, CommandCollection commands)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpContext | context | The HTTP context. |
| CommandCollection | commands | The commands. |
Returns
| Type | Description |
|---|---|
| String | The cache key. |