CacheControlHeaderValue.NoTransform Property

Definition

Whether a cache or proxy must not change any aspect of the entity-body.

public:
 property bool NoTransform { bool get(); void set(bool value); };
public bool NoTransform { get; set; }
member this.NoTransform : bool with get, set
Public Property NoTransform As Boolean

Property Value

true if a cache or proxy must not change any aspect of the entity-body; otherwise, false.

Remarks

This property represents the "no-transform" directive in a cache-control header field on an HTTP request or HTTP response.

When the NoTransform is set to true, intermediate caches or proxies must not change any aspect of the entity body. Implementors of intermediate caches and proxies have found it useful to convert the media type of certain entity bodies. A non-transparent proxy might, for example, convert between image formats in order to save cache space or to reduce the amount of traffic on a slow link. Serious operational problems occur, however, when these transformations are applied to entity bodies intended for certain kinds of applications.

Applies to