Property | Type | Description | |
---|---|---|---|
CreateCacheEvictionPolicy | CacheEvictionPolicy | ||
CreateCacheKey | string | ||
GetCache | IObjectInstanceCache | ||
IsCacheable | bool |
Method | Description | |
---|---|---|
EpiserverWebApiOutputCacheAttribute ( int durationSeconds ) : System | ||
OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext ac ) : void | ||
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext ac ) : void |
Method | Description | |
---|---|---|
CreateCacheEvictionPolicy ( ) : CacheEvictionPolicy | ||
CreateCacheKey ( |
||
GetCache ( ) : IObjectInstanceCache | ||
IsCacheable ( HttpMethod method ) : bool |
public EpiserverWebApiOutputCacheAttribute ( int durationSeconds ) : System | ||
durationSeconds | int | Cache duration in seconds |
return | System |
public OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext ac ) : void | ||
ac | System.Web.Http.Filters.HttpActionExecutedContext | |
return | void |
public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext ac ) : void | ||
ac | System.Web.Http.Controllers.HttpActionContext | |
return | void |