Class LegacyV1CacheKey
- Namespace
- SixLabors.ImageSharp.Web.Caching
- Assembly
- SixLabors.ImageSharp.Web.dll
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.
public class LegacyV1CacheKey : ICacheKey
- Inheritance
-
LegacyV1CacheKey
- Implements
- Inherited Members
Methods
Create(HttpContext, CommandCollection)
Creates the cache key based on the specified context and commands.
public string Create(HttpContext context, CommandCollection commands)
Parameters
contextHttpContextThe HTTP context.
commandsCommandCollectionThe commands.
Returns
- string
The cache key.