Caching
Caching contains middlewares to support caching functionality.
Helper functions to support Caching.cache can be found in Caching.Helpers
Type members
Classlikes
Helpers Contains the default arguments used to help construct middleware with caching. They serve to support the default arguments for publicCache and privateCache.
Helpers Contains the default arguments used to help construct middleware with caching. They serve to support the default arguments for publicCache and privateCache.
Value members
Concrete methods
Construct a Middleware that will apply the appropriate caching headers.
Construct a Middleware that will apply the appropriate caching headers.
Helper functions for methodToSetOn and statusToSetOn can be found in Helpers.
Note: If set to Duration.Inf, lifetime falls back to 10 years for support of Http1 caches.
Method in order to turn a generated Response into one that will be appropriately cached.
Method in order to turn a generated Response into one that will be appropriately cached.
Note: If set to Duration.Inf, lifetime falls back to 10 years for support of Http1 caches.
Middleware that implies responses should NOT be cached. This is a best attempt, many implementors of caching have done so differently.
Middleware that implies responses should NOT be cached. This is a best attempt, many implementors of caching have done so differently.
Transform a Response so that it will not be cached.
Transform a Response so that it will not be cached.
Sets headers for response to be privately cached for the specified duration.
Sets headers for response to be privately cached for the specified duration.
Note: If set to Duration.Inf, lifetime falls back to 10 years for support of Http1 caches.
Privately Caches A Response for the given lifetime.
Privately Caches A Response for the given lifetime.
Note: If set to Duration.Inf, lifetime falls back to 10 years for support of Http1 caches.
Sets headers for response to be publicly cached for the specified duration.
Sets headers for response to be publicly cached for the specified duration.
Note: If set to Duration.Inf, lifetime falls back to 10 years for support of Http1 caches.