HttpSettingsExtensions.

SetNoCache(HttpSettings) Method

Summary

Appends a Cache-Control header with no-store
Assembly
Cake.Http.dll
Namespace
Cake.Http
Containing Type
HttpSettingsExtensions

Syntax

public static HttpSettings SetNoCache(this HttpSettings settings)

Parameters

Name Type Description
settings HttpSettings The settings.

Return Value

Type Description
HttpSettings The same HttpSettings instance so that multiple calls can be chained.