Class UriRelativeCacheKey
Creates a cache key based on the request path and commands.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Caching
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public class UriRelativeCacheKey : ICacheKey
Methods
| Edit this page 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. |