C# Class Solita.Episerver.Performance.Routing.CachingUrlResolver

Caches UrlResolver.GetVirtualPath(ContentReference, string, VirtualPathArguments) results in ContextMode.Default (end-user view). Cache invalidates when Episerver content changes.
Inheritance: DefaultUrlResolver
Afficher le fichier Open project: solita/episerver-performance

Méthodes publiques

Méthode Description
CachingUrlResolver ( RouteCollection routes, IContentLoader contentLoader, SiteDefinitionRepository siteDefinitionRepository, TemplateResolver templateResolver, IPermanentLinkMapper permanentLinkMapper, IObjectInstanceCache cache ) : System
GetVirtualPath ( EPiServer.Core.ContentReference contentLink, string language, VirtualPathArguments args ) : System.Web.Routing.VirtualPathData

Private Methods

Méthode Description
CreateCacheEvictionPolicy ( ) : CacheEvictionPolicy
CreateCacheKey ( EPiServer.Core.ContentReference contentLink, string language, VirtualPathArguments args ) : string
IgnoreCache ( EPiServer.Core.ContentReference contentLink, VirtualPathArguments args ) : bool
IsDefaultContextActive ( VirtualPathArguments args ) : bool

Method Details

CachingUrlResolver() public méthode

public CachingUrlResolver ( RouteCollection routes, IContentLoader contentLoader, SiteDefinitionRepository siteDefinitionRepository, TemplateResolver templateResolver, IPermanentLinkMapper permanentLinkMapper, IObjectInstanceCache cache ) : System
routes RouteCollection
contentLoader IContentLoader
siteDefinitionRepository SiteDefinitionRepository
templateResolver TemplateResolver
permanentLinkMapper IPermanentLinkMapper
cache IObjectInstanceCache
Résultat System

GetVirtualPath() public méthode

public GetVirtualPath ( EPiServer.Core.ContentReference contentLink, string language, VirtualPathArguments args ) : System.Web.Routing.VirtualPathData
contentLink EPiServer.Core.ContentReference
language string
args VirtualPathArguments
Résultat System.Web.Routing.VirtualPathData