Try our conversational search powered by Generative AI!

Interface IContentUrlCache

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Signature for component that handles caching of content urls

Namespace: EPiServer.Web.Routing.Internal
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public interface IContentUrlCache

Methods

Get(ContentUrlCacheContext)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets a previously resolved url from cache if it exist else null

Declaration
string Get(ContentUrlCacheContext context)
Parameters
Type Name Description
ContentUrlCacheContext context

The context for the url resolving

Returns
Type Description
System.String

The content url

Insert(String, ContentUrlCacheContext)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Inserts a resolved content url to cache

Declaration
void Insert(string url, ContentUrlCacheContext context)
Parameters
Type Name Description
System.String url

The resolved url

ContentUrlCacheContext context

The context for the resolving

Remove(ContentUrlCacheContext)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Called when a content has changed

Declaration
void Remove(ContentUrlCacheContext context)
Parameters
Type Name Description
ContentUrlCacheContext context

A context for removing item from cache

Extension Methods