NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpCachePolicy.SetNoTransforms

Enables the sending of the CacheControl: no-transform directive.

[Visual Basic]
Public Sub SetNoTransforms()
[C#]
public void SetNoTransforms();
[C++]
public: void SetNoTransforms();
[JScript]
public function SetNoTransforms();

Remarks

As with other restrictions on caching, once this [RB18] is set, it cannot be disabled through this interface.

This directive prevents downstream proxy servers from doing any content transformations on any header values specified by the Content-Encoding:, Content-Range:, or Content-Type: headers (this includes the entity body).[RB19] This prevents proxies from doing transforms that convert GIF [RB20] images to PNG, for example.

See Also

HttpCachePolicy Class | HttpCachePolicy Members | System.Web Namespace