AddHttpCacheable Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Mvc.Filters
- Assemblies
- Cuemon.Extensions.AspNetCore.Mvc.dll
AddHttpCacheable(FilterCollection)
Adds a HttpCacheableFilter to the filters handled in the MVC request pipeline that will invoke filters implementing the ICacheableObjectResult interface
public static IFilterMetadata AddHttpCacheable(this FilterCollection filters)
Parameters
filtersFilterCollectionThe FilterCollection to extend.
Returns
- IFilterMetadata
A IFilterMetadata representing the added type.